Provides special properties and methods for manipulating the layout and presentation of
Members
# checkValidity
Returns whether a form will validate when it is submitted, without having to submit it.
# maxLength
Sets or retrieves the maximum number of characters that the user can enter in a text control.
# placeholder
Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
# readOnly
Sets or retrieves the value indicated whether the content of the object is read-only.
# 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.