package js.html
extends Element › DOMElement › Node › EventTarget
Available on js
The HTMLFieldSetElement interface has special properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of field-set elements.
Documentation HTMLFieldSetElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
disabled:BoolA Boolean reflecting the disabled HTML attribute, indicating whether the user can interact with the control.
read onlyelements:HTMLCollectionThe elements belonging to this field set. The type of this property depends on the version of the spec that is implemented by the browser.
read onlyform:FormElementAn 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.
name:StringA DOMString reflecting the name HTML attribute, containing the name of the field set, used for submitting the form.
read onlytype:StringThe DOMString "fieldset".
read onlyvalidationMessage:StringA DOMString 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.
read onlyvalidity:ValidityStateA ValidityState representing the validity states that this element is in.
read onlywillValidate:BoolA Boolean false, because fieldset objects are never candidates for constraint validation.
checkValidity():BoolAlways returns true because fieldset objects are never candidates for constraint validation.
reportValidity():BoolsetCustomValidity(error:String):VoidSets 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.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/FieldSetElement.html