5.6 Fieldset View in a new window

The fieldset element is used for grouping form elements. See the Checkbox (multiple) and Radios (multiple) components for how it is best used.

Twig: form/fieldset/fieldset.twig

Example
Fieldset legend

Content inside a fieldset

Markup
<fieldset>
  <legend>Fieldset legend</legend>
  <p>Content inside a fieldset</p>
</fieldset>