Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
add
Expand Minimize

checkValidity method

Returns whether a form will validate when it is submitted, without having to submit it.

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

 

Syntax

object.checkValidity(retVal)

Parameters

retVal [out, retval]

Type: boolean

Returns true if the form passes validation, false otherwise.

Return value

Type: boolean

Returns true if the form passes validation, false otherwise.

Standards information

See also

HTMLButtonElement
HTMLFieldSetElement
HTMLInputElement
HTMLObjectElement
HTMLSelectElement
HTMLTextAreaElement

 

 

Show:
© 2015 Microsoft