Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
4 results across 6 corpora for HTMLOutputElement: setCustomValidity() method.
Developer library 4
Client-side form validation
ents/fieldset) element) - [`HTMLInputElement`](/docs/Web/API/HTMLInputElement) (represents an [`<input>`](/docs/Web/HTML/Reference/Elements/input) element) - [`HTMLOutputElement`](/docs/Web/API/HTMLOutputElement) (represents an [`<output>`](/docs/Web/HTML/Reference/Elements/output) element) - [`HTMLSelectElement`](/docs/Web/API/HTMLSelectElement) (represents a [`<select>`](/docs/Web/HTML/Reference/Elements/select) el
Using HTML form validation and the Constraint Validation API
putElement`](/docs/Web/API/HTMLInputElement), [`HTMLSelectElement`](/docs/Web/API/HTMLSelectElement), [`HTMLButtonElement`](/docs/Web/API/HTMLButtonElement), [`HTMLOutputElement`](/docs/Web/API/HTMLOutputElement) or [`HTMLTextAreaElement`](/docs/Web/API/HTMLTextAreaElement)), which evaluates the constraints only on this element, allowing a script to get this information. The `checkValidity()` method returns a Boolean
HTMLOutputElement
HTML DOM The **`HTMLOutputElement`** interface provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of output elements. ## Constructor - HTMLOutputElement() - : Creates a new `HTMLOutputElement` object. ## Instance properties _This interface also inherits properties from its parent, HTMLElement._ - HTMLOutputElement.defaultValue - : A stri
HTMLOutputElement: setCustomValidity() method
HTML DOM The **`setCustomValidity()`** method of the HTMLOutputElement interface sets the custom validity message for the output element. Use the empty string to indicate that the element does _not_ have a custom validity error. The `<output>` element is not a candidate for constraint validation. The reportValidity() method will not cause the custom error message to be displayed to the user, but does set the custom