Latest web development tutorials

HTML button formnovalidate property

HTML button labels Reference Manual HTML <button> tag

Examples

The default form with with two submit buttons when the form (verified or not verified), first submit button to submit data validation, the second submit button to submit the form data is not verified:

<form action="demo_form.html" method="get">
E-mail: <input type="email" name="userid"><br>
<button type="submit">提交</button><br>
<button type="submit" formnovalidate>不验证提交</button>
</form>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Firefox, Opera, Chrome support formmethod property.

Note: Safari, Internet Explorer 9 and earlier versions do not support IE formmethod property.


Definition and Usage

formnovalidate property is a boolean (Boolean) property.

Button does not perform the authentication process when using this property, it will submit the form. ormnovalidate property coverage forms novalidate property.

This attribute type = "submit" used in conjunction.


Differences between HTML 4.01 and HTML5

formnovalidate property is new in HTML 5 attributes.


Differences between HTML and XHTML

In XHTML, the property is not allowed shorthand, formnovalidate property must be defined as <button type = "submit" formnovalidate = "formnovalidate">.


grammar

<button type="submit" formnovalidate>


HTML button labels Reference Manual HTML <button> tag