Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
HTMLOutputElement

 

 

Show:
© 2016 Microsoft