# Fieldset Container

<figure><img src="https://2599974655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIRF6etABDVMr59RdpyGw%2Fuploads%2Fgit-blob-56a850ac5247ef5ba3241af7008908821b7745c6%2Ffieldset-container-v184-0.png?alt=media" alt="" width="250"><figcaption></figcaption></figure>

The Fieldset Container Web Control creates a container that groups related controls in a form. Grouping controls help make forms more understandable for users and make related controls easier to identify. For more information, see [here.](https://www.w3.org/WAI/tutorials/forms/grouping/)

The Fieldset Container is composed of two child Controls: Legend and Fieldset, which can be styled independently of the main parent Control.

## General

### Control Properties

#### Legend Text

Expects type `text`.

Defines a heading for the controls in the Fieldset container.

### Style

It has one default Variant. However, child Controls Legend and Fieldset can be customized as most Web Controls. For more information, see [Common Style Properties of Web Controls](../styling/styling-overview/web-control-styling-properties).

## Advanced

### State

#### Is Visible

Expects type `boolean`.

If `TRUE` the Control will be visible. If `FALSE` the Control will not be displayed. If the field is empty, the Control will be visible.

#### Is Disabled

Expects type `boolean`.

If `TRUE` the Control will be disabled and the user will not be able to interact with it. If `FALSE` the Control will be enabled. If the field is empty, the Control will be enabled.

## Example

Fieldset containers can be used to help distinguish form fields by groups. In the example below there are two fieldset containers that separate "Shipping Address" and "Billing Address" which have the same form fields.

![](https://2599974655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIRF6etABDVMr59RdpyGw%2Fuploads%2Fgit-blob-a009d1fe1e284fabd22e5911785a5383e666237f%2Ffieldset-container-v184-1.png?alt=media)
