Interface

HTMLFieldSetElement

HTMLFieldSetElement

Provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of

elements.

View Source js/lib.dom.d.ts, line 2333

Members

boolean

# checkValidity

Returns whether a form will validate when it is submitted, without having to submit it.

View Source js/lib.dom.d.ts, line 2356

HTMLFormElement | null

# form

Retrieves a reference to the form that the object is embedded in.

View Source js/lib.dom.d.ts, line 2336

void

# setCustomValidity

Sets a custom error message that is displayed when a form is submitted.

View Source js/lib.dom.d.ts, line 2361

string

# validationMessage

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.

View Source js/lib.dom.d.ts, line 2341

ValidityState

# validity

Returns a ValidityState object that represents the validity states of an element.

View Source js/lib.dom.d.ts, line 2346

boolean

# willValidate

Returns whether an element will successfully validate based on forms validation rules and constraints.

View Source js/lib.dom.d.ts, line 2351