Back to Content

HTMLFieldSetElement: reportValidity() method

files/en-us/web/api/htmlfieldsetelement/reportvalidity/index.md

latest907 B
Original Source

{{APIRef("HTML DOM")}}

The reportValidity() method of the {{domxref("HTMLFieldSetElement")}} interface performs the same validity checking steps as the {{domxref("HTMLFieldSetElement.checkValidity", "checkValidity()")}} method. It always returns true because {{HTMLElement("fieldset")}} elements are never candidates for constraint validation.

Syntax

js-nolint
reportValidity()

Parameters

None.

Return value

A boolean value, true.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also