Dart API Referencedart:htmlFieldSetElement

FieldSetElement Interface

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.

Extends

Element

Constructors

Code new FieldSetElement() #

FieldSetElement();

Methods

Code bool checkValidity() #

Always returns true because fieldset objects are never candidates for constraint validation.
bool checkValidity();

Code void setCustomValidity(String error) #

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.
void setCustomValidity(String error);

Fields

Code bool disabled #

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

Code final HTMLCollection elements #

The elements belonging to this field set.
final HTMLCollection elements;

Code final FormElement form #

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.)
final FormElement form;

Code String name #

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

Code final String type #

Must be the string fieldset.
final String type;

Code final String validationMessage #

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.
final String validationMessage;

Code final ValidityState validity #

The validity states that this element is in.
final ValidityState validity;

Code final bool willValidate #

Always false because fieldset objects are never candidates for constraint validation.
final bool willValidate;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.