Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating
Members
# checkValidity
Returns whether a form will validate when it is submitted, without having to submit it.
# formAction
Overrides the action attribute (where the data on a form is sent) on the parent form element.
# formEnctype
Used to override the encoding (formEnctype attribute) specified on the form element.
# formNoValidate
Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.
# 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.
# validity
Returns a ValidityState object that represents the validity states of an element.
# willValidate
Returns whether an element will successfully validate based on forms validation rules and constraints.