NAME

HTML::Object::DOM::Element::FieldSet - HTML Object DOM Field Set Class

SYNOPSIS

use HTML::Object::DOM::Element::FieldSet;
my $set = HTML::Object::DOM::Element::FieldSet->new || 
    die( HTML::Object::DOM::Element::FieldSet->error, "\n" );

VERSION

v0.2.0

DESCRIPTION

This interface provides special properties and methods (beyond the regular HTML::Object::Element interface it also has available to it by inheritance) for manipulating the layout and presentation of <fieldset> elements.

INHERITANCE

+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +--------------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::FieldSet |
+-----------------------+     +---------------------------+     +-------------------------+     +----------------------------+     +--------------------------------------+

PROPERTIES

Inherits properties from its parent HTML::Object::DOM::Element

disabled

A boolean value reflecting the disabled HTML attribute, indicating whether the user can interact with the control.

See also Mozilla documentation

elements

Read-only.

The form elements belonging to this field set. It returns a collection object of such elements found inside the fieldset.

See also Mozilla documentation, see this docu also for list of form elements

form

Read-only.

An HTML::Object::DOM::Element::Form object referencing the containing form element, if this element is in a form, otherwise it returns undef.

See also Mozilla documentation

name

A 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.

See also Mozilla documentation

type

Read-only.

Returns the string fieldset as a scalar object.

See also Mozilla documentation

validationMessage

A 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.

See also Mozilla documentation

validity

A HTML::Object::DOM::ValidityState representing the validity states that this element is in.

See also Mozilla documentation

willValidate

A boolean value false, because <fieldset> objects are never candidates for constraint validation.

See also Mozilla documentation

METHODS

Inherits methods from its parent HTML::Object::DOM::Element

checkValidity

Set or get a boolean value, because under perl it does not do any checks.

Normally, under JavaScript, this always returns true because <fieldset> objects are never candidates for constraint validation.

See also Mozilla documentation

reportValidity

Set or get a boolean value, because under perl it does not do any checks.

Normally, under JavaScript, this always returns true because <fieldset> objects are never candidates for constraint validation.

See also Mozilla documentation

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.

See also Mozilla documentation

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation, Mozilla documentation on fieldset element

COPYRIGHT & LICENSE

Copyright(c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.