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.
callback(formValues: object): void
Callback for the form submission.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.