MDN self-hosted library · e01.org

HTMLInputElement: willValidate property

HTML DOM

no runnable cells web-api-instance-property upstream source

HTML DOM

The willValidate read-only property of the HTMLInputElement interface indicates whether the input element is a candidate for constraint validation. It is false if any conditions bar it from constraint validation, including:

  • Its type is one of hidden, reset or button;
  • It has a datalist ancestor;
  • Its disabled property is true.

Value

A boolean value.

Specifications

Browser compatibility

See also