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(values: FormValues): void Callback for the form submission.

Was this helpful?
Yes
No