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.
Attention : Safari, Internet Explorer 9 et les versions d'IE plus anciennes ne prennent pas en charge l'attribut formmethod.
L'attribut formnovalidate est un attribut boolean (booléen).
Si vous utilisez cet attribut, le bouton ne lancera pas le processus de validation lors de la soumission du formulaire. L'attribut formnovalidate surpasse le novalidate propriété.
Cette propriété est utilisée avec type="submit".
L'attribut formnovalidate est HTML 5 nouvelles propriétés.
Dans XHTML, les attributs ne sont pas autorisés à être abrégés, formnovalidate Les attributs doivent être définis comme <button type="submit" formnovalidate="formnovalidate">.
<button type="submit" formnovalidate>