class js.html.FieldSetElement extends Element

Available on js

DOM fieldset elements expose the HTMLFieldSetElement  ( HTML 4 HTMLFieldSetElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of field-set elements.

Documentation for this class was provided by MDN.

Instance Fields

var disabled:Bool

Reflects the

disabled HTML attribute, indicating whether the user can interact with the control.

var elements:HTMLCollection

The elements belonging to this field set.

var form:FormElement

The containing form element, if this element is in a form. Otherwise, the element the name content attribute points to HTML5. (null in HTML 4.)

var name:String

Reflects the

name HTML attribute, containing the name of the field set, used for submitting the form.

var type:String

Must be the string fieldset.

var validationMessage:String

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.

var validity:ValidityState

The validity states that this element is in.

var willValidate:Bool

Always false because fieldset objects are never candidates for constraint validation.

function checkValidity():Bool

function setCustomValidity(error:String):Void