setCustomValidity method

void setCustomValidity(
  1. String error
)

The HTMLInputElement.setCustomValidity() method sets a custom validity message for the element.

Implementation

external void setCustomValidity(String error);