onSubmit( )


Runs a callback when a site visitor starts to submit a Wix Form yet before the form is actually submitted and sent to the server.

Method Declaration
Copy
Method Parameters
callbackfunctionRequired

callback(formValues: object): void Callback for the form submission.

Did this help?