The novalidate attribute is a boolean attribute. When present, it specifies that the <input> element should not be validated when submitted. The formnovalidate attribute overrides the novalidate attribute of the <form> element. This attribute can be used with type="submit".
This is a form with two submit buttons (one with and the other without validation):
HTML file: | Displayed by browser: |
---|---|
<form action="http://www.w3schools.com/html/action_page.php">
E-mail: <input type="email" name="userid"> <br /> <br /><input type="submit" value="Submit"> <input type="submit" formnovalidate value="Submit without validation"> </form> |
This should work with all major browsers, except Safari and IE9 or earlier.