English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The formnovalidate attribute is a boolean attribute. If this attribute is used, the validation process will not be executed when the form is submitted. The formnovalidate attribute overrides the novalidate attribute of the form, and the formnovalidate attribute is only used for buttons of type "submit".
A form with two submit buttons. The first submit button submits form data with default validation, and the second submit button submits form data without validation:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML <button> formnovalidate Attribute Usage-Basic Tutorial(oldtoolbag.com)</title> </head> <body> <form action="action_page.php" method="get"> E-mail: <input type="email" name="userid"><br> <button type="submit">Submit</button><br> <button type="submit" formnovalidate>Submit without validation</button> </form> </body> </html>Test to see ‹/›
IEFirefoxOperaChromeSafari
Internet Explorer 10Firefox, Opera, Chrome support the formmethod attribute.
Note: Safari, Internet Explorer 9 and earlier IE versions do not support the formmethod attribute.
The formnovalidate attribute is a boolean (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's novalidate attribute.
This attribute is used in conjunction with type="submit".
The formnovalidate attribute is an HTML 5 new attributes.
In XHTML, attributes are not allowed to be abbreviated, formnovalidate The attribute must be defined as <button type="submit" formnovalidate="formnovalidate">.
<button type="submit" formnovalidate>