Latest web development tutorials

HTML input formnovalidate property

HTML input Tag Reference HTML <input> tag

Examples

(A verified, another non-validating) with two buttons submit the form:

<form action="demo-form.php">
E-mail: <input type="email" name="userid"><br>
<input type="submit" value="提交"><br>
<input type="submit" formnovalidate="formnovalidate" value="不验证提交">
</form>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Firefox, Opera and Chrome support formnovalidate property.

Note: Safari or Internet Explorer 9 and earlier versions do not support the <input> tag formnovalidate property.


Definition and Usage

novalidate property is a Boolean property.

novalidate attribute specifies when the form is submitted <input> element does not validate.

formnovalidate property overrides <form> element novalidate property.

Note: formnovalidate attribute with type = "submit" used in conjunction.


Differences between HTML 4.01 and HTML5

formnovalidate attribute is new in HTML5 attributes.


grammar

<input formnovalidate="formnovalidate">

Note: formnovalidate attribute is a Boolean attribute and can be set by the following ways:

  • <Input formnovalidate>
  • <Input formnovalidate = "formnovalidate">
  • <Input formnovalidate = "">

HTML input Tag Reference HTML <input> tag