Firefox Tomorrow

web api instance method

HTMLOutputElement: reportValidity() method

View on MDN ↗

The reportValidity() method of the HTMLOutputElement interface performs the same validity checking steps as the 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also