Call meteor client method from server

evening, i’m new in meteor. I try to create some form with submit button. i want my submit button will call some method on more pc was acces my webapp. i think i will call client method using meteor call in server but it will be error

hmph, your enligsh is not the best so I am not sure I understood exactly what you are trying to do. if it’s not too late. I’d say the solution might just be to add an onSubmit event listener on your form and then calling a meteor method.
something like this:

render() {return (<form onSubmit={this.submitForm.bind(this)}> ..... </form>);}

and on the method
event.preventDefault();"[your method name]" [, param1, param2, etc..]);

1 Like