HTML <input> formnovalidate Attribute
Example
<form action="action.php">
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname" required >
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname" required>
<input type="submit" value="Submit">
<input type="submit" formnovalidate value="Submit without novalidate">
</form>
Meaning
The formnovalidate is a Boolean attribute is used to indicate a form should not be validated during submission.
It is false by default but may be controlled either on the button directly or on a containing or related form.
Initially this was simply known as novalidate.
The formnovalidate attribute overrides the novalidate attribute of the <form> element.
Note: The formnovalidate attribute can be used with <input type="submit" >.
Standard Syntax
HTML: <input formnovalidate>
XHTML: <input formnovalidate="formnovalidate" />
Advertisement
Attribute Values
| Value | Description |
|---|---|
| formnovalidate | This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value. |