HTML DOM
The reportValidity() method of the HTMLOutputElement interface performs the same validity checking steps as the HTMLOutputElement.checkValidity method. It always returns true because output elements are never candidates for constraint validation.
Syntax
reportValidity()
Parameters
None.
Return value
A boolean value, true.
Specifications
Browser compatibility
See also
- HTMLOutputElement.checkValidity()
- output
- form
- Learn: Client-side form validation
- Guide: Constraint validation
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
