fieldSet

fieldSet groups related form controls under an optional caption.

XML Element

fieldSet

Java Class

FieldSet

Basics

Place related controls inside fieldSet and optionally set legendText to identify the group.

<fieldSet legendText="Group" classNames="border rounded-m text-secondary flex flex-col">
    <textField label="TextField"/>
    <checkbox label="Checkbox"/>
</fieldSet>
fieldset basic

Attributes

Common attributes serve the same purpose for all components. The following attributes are specific to fieldSet:

Name Description Default

legendText

Provides a caption or title for the grouped fields.

Handlers

Name Description

AttachEvent

Fires when the field set is attached to the UI.

DetachEvent

Fires when the field set is detached from the UI.

Elements

A fieldSet can contain the form controls and layouts that belong to the group.