checkValidity method
Returns whether a form will validate when it is submitted, without having to submit it.
![]() ![]() |
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
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.21.3
See also
- HTMLObjectElement
- HTMLButtonElement
- HTMLFieldSetElement
- HTMLInputElement
- HTMLSelectElement
- HTMLTextAreaElement
Send comments about this topic to Microsoft
Build date: 11/28/2012

