noValidate property
Designates a form that is not validated when submitted.
This property is read/write.
![]() ![]() |
Syntax
| JavaScript |
|---|
object.noValidate = ptr ptr = object.noValidate |
Property values
Type: boolean
Flag to designate that fields within a form are not to be validated when submitted.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6
Remarks
The following example shows a form that has required fields but won't be validated when submitted.
<form novalidate> <p>Unvalidated area</p> <p><label>Name: <input type="text" required /></label></p> <p><label>Street: <input type="text" required /></label></p> <p><label>Zip: <input type="text" pattern= "[0-9](5|10)" placeholder="5 or 9 digit zip" required /></label></p> <input type="submit" name=submit value="submit" /> </form>
See also
Show:

