Streaming live at 10am (PST)

Can I add a jQuery event handler for form validation or is there a callback I can set?

I’m intercepting the form submission in order to perform an action just before the form is submitted, but the problem is the submit is executed before validation, I want to perform my action after validation.

Can I attach a handler to the form validation call? Is there a class or input value I can check in the submit handler to verify that the form data is valid before executing my code?


Hi Greg,

Webflow primarily relies on HTML5 form validation, but also provides a very basic JavaScript fallback.

If I understand your use-case correctly, you would like to simply access the validation in webflow.js and use the result of that in your own submit handler?

After your code is finished, would you want to continue the submission to the webflow server?
(Or would it end with your custom code?)