Fieldset start
Opens a <fieldset>
and allows you to define an optional <legend>
.
For common form layout options, check the form styleguide
Example usage
{{
form.fieldset_start({
'legend': 'I am Legend'
})
}}
Options
Option | Type | Description |
---|---|---|
class | string | A space separated list of class names |
form | string | Specific one or more forms the fieldset belongs to |
id | string | A unique identifier, if required |
legend | string | Label for the optional legend element |
name | string | The name of this control |
data-* | string | Data attributes, eg: 'data-foo': 'bar' |