Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The HTMLFieldSetElement interface provides special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements.
EventTarget Node Element HTMLElement HTMLFieldSetElementInherits properties from its parent, HTMLElement.
HTMLFieldSetElement.disabledA boolean value reflecting the disabled HTML attribute, indicating whether the user can interact with the control.
HTMLFieldSetElement.elements Read onlyThe elements belonging to this field set. The type of this property depends on the version of the spec that is implemented by the browser.
HTMLFieldSetElement.form Read onlyAn HTMLFormControlsCollection or HTMLCollection referencing the containing form element, if this element is in a form. If the field set is not a descendant of a form element, then the attribute can be the ID of any form element in the same document it is related to, or the null value if none matches.
HTMLFieldSetElement.nameA string reflecting the name HTML attribute, containing the name of the field set. This can be used when accessing the field set in JavaScript. It is not part of the data which is sent to the server.
HTMLFieldSetElement.type Read onlyThe string "fieldset".
HTMLFieldSetElement.validationMessage Read onlyA string representing a localized message that describes the validation constraints that the element does not satisfy (if any). This is the empty string if the element is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
HTMLFieldSetElement.validity Read onlyA ValidityState representing the validity states that this element is in.
HTMLFieldSetElement.willValidate Read onlyA boolean value false, because <fieldset> objects are never candidates for constraint validation.
Inherits methods from its parent, HTMLElement.
HTMLFieldSetElement.checkValidity()Always returns true because <fieldset> objects are never candidates for constraint validation.
HTMLFieldSetElement.reportValidity()Always returns true because <fieldset> objects are never candidates for constraint validation.
HTMLFieldSetElement.setCustomValidity()Sets a custom validity message for the field set. If this message is not the empty string, then the field set is suffering from a custom validity error, and does not validate.
| HTML # htmlfieldsetelement |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Sep 4, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.