Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
noValidate
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Collapse the table of content
Expand the table of content

noValidate property

Designates a form that is not validated when submitted.

This property is read/write.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6Internet Explorer 10

 

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

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

HTMLFormElement

 

 

Show:
© 2015 Microsoft