HTMLFormControlElement
Represents the base class for all HTML form control elements.
Gets or sets the autofocus HTML attribute, which indicates whether the
control should have input focus when the page loads.
Gets the associated HTML form element.
Gets or sets if the element is enabled or disabled.
Gets the list of assigned labels.
Gets or sets the value of the name attribute.
Gets if labels are supported.
Gets the current validation message.
Gets the current validation state of the current element.
Gets a value if the current element validates.
Checks the form control for validity.
Checks the validity of the current element.
Sets a custom validation error. If this is not the empty string,
then the element is suffering from a custom validation error.