HTML <button> formnovalidateAttribute
Examples
A form with two submit buttons (with or without validation). The first submit button submits data with default form validation, the second submit button submits data without form validation:
Try it »
Browser Support
![]()
![]()
![]()
![]()
![]()
Internet Explorer 10, Firefox, Opera, Chrome support the formmethod attribute.
Note:Safari, Internet Explorer 9 and earlier IE versions do not support the formmethod attribute.
Definition and Usage
The formnovalidate attribute is a boolean attribute.
If this attribute is used, the button will not perform the validation process when the form is submitted. The formnovalidate attribute overrides the form'snovalidateattribute.
This attribute works with type="submit".
Differences between HTML 4.01 and HTML5
The formnovalidate attribute is a new attribute in HTML5.
Differences between HTML and XHTML
In XHTML, attribute minimization is not allowed, and the formnovalidate attribute must be defined as `<button type="submit" formnovalidate="formnovalidate">`.
Syntax
HTML `<button>` Tag Other extensions