Name

fieldset

Type

fieldset

Synopsis

How to group certain inputfields together

Description

A _fieldset can visually group certain form elements together. In other word you can group questions related to each other.

A _fieldset is useally used in combination with _legend, but not necessary.

Parameters

_fieldset

Can hold all styling HTML5 arguments. It also has a form tag that refers to the form's id when a fieldset is not nested within a form.

You can also disable a fieldset, essentially disabling all _input fields inside a _fieldset.

Example

<_form action="get">
  <_fieldset>
    <_legend>Simple fieldset</_legend>
    <_input type="radio" id="radio" /><_label for="radio">Spirit of radio</_label>
  </_fieldset>
</_form>


Note

Links

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset