willValidate property
Returns whether an element will successfully validate based on forms validation rules and constraints.
This property is read-only.
![]() ![]() |
Syntax
| JavaScript |
|---|
bWillValidate = object.willValidate |
Property values
Type: boolean
True if the page will validate, false otherwise.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.21.3
See also
- HTMLButtonElement
- HTMLFieldSetElement
- HTMLInputElement
- HTMLObjectElement
- HTMLSelectElement
- HTMLTextAreaElement
Show:

