MDN self-hosted library · e01.org

HTMLButtonElement: willValidate property

HTML DOM

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

HTML DOM

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

  • Its type is reset or button;
  • It has a datalist ancestor;
  • The disabled property is true.

Value

A boolean value.

Specifications

Browser compatibility

See also