English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The novalidate attribute is a boolean attribute that specifies that no validation of <input> elements should be performed when the form is submitted, the formnovalidate attribute overrides the novalidate attribute of the <form> element.
A form with two submit buttons (with and without validation):
<!DOCTYPE html> <html> <head> <title>HTML: <input> formnovalidate attribute - 基础教程网(oldtoolbag.com)</title> <body> <form action="action_page.php"> E-mail: <input type="email" name="userid"><br> <input type="submit" value="Submit"><br> <input type="submit" formnovalidate="formnovalidate" value="Submit without validation"> </form> </body> </html>Test and see ‹/›
IEFirefoxOperaChromeSafari
Internet Explorer 10Firefox, Opera, and Chrome support the formnovalidate attribute.
Note:Safari or Internet Explorer 9 and earlier versions do not support the formnovalidate attribute of the <input> tag.
The novalidate attribute is a boolean attribute.
The novalidate attribute specifies that the <input> element validation is not performed when the form is submitted.
The formnovalidate attribute overrides the novalidate attribute.
Note:The formnovalidate attribute can be used with type="submit".
The formnovalidate attribute is an HTML5 of the new attribute.
<input formnovalidate="formnovalidate">
Note:The formnovalidate attribute is a boolean attribute and can be set in the following ways:
<input formnovalidate>
<input formnovalidate="formnovalidate">
<input formnovalidate="">