Easily validate forms using HTML attributes. Create custom validation rules for your Webflow forms without needing extra code.
Assign this attribute to the form element to enable validation.
Set this attribute to style invalid fields with a custom class.
Assign this attribute to a button to clear form inputs and errors.
Assign this attribute to elements that will display error messages.
Assign this attribute to the form's submit button.
Assign this attribute to input fields that must be filled before form submission.
Assign this attribute to the form's default submit button.
Set this attribute to customize the submit button text after validation.