setCustomValidity method

void setCustomValidity(
  1. String error
)

The setCustomValidity() method of the HTMLObjectElement interface sets a custom validity message for the element.

Implementation

external void setCustomValidity(String error);