formNoValidate
Summary
When present, it specifies that the <input> element should not be validated when submitted.
Applies to | [HTMLInputElement](/html/elements/input) |
---|
The formnovalidate attribute overrides the novalidate attribute of the <form> element.
Examples
<form action="submit.php">
Input field: <input type="email" name="inputfield">
<input type="submit" value="Submit">
<input type="submit" formnovalidate value="Submit without validation">
</form>
Notes
Remarks
This attribute can be set on button and input elements. It is a Boolean attribute, and needs to be specified only on an element. The following example shows a field with two buttons, check and save and just save. Note For more code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.
Syntax
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6
See also
Related pages
- HTMLInputElementHTMLInputElement
- HTMLButtonElementHTMLButtonElement
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]