The form layout should only be used when dealing with forms, not any other use
case is valid. Everything should be wrapped with a <form>
. Each has input
fields which are wrapped within an l-form__grid in combination with the
l-grid l-grid--with-spacing component. For consistency these form input
fields are always wrapped using the l-grid layout component. Each submit
button should be placed at the end of the form, in a l-form__footer element.
A form can be split up in <fieldset>
, each fieldset is required to have a
<legend>
. A <legend>
cannot exist without a <fieldset>
. These will always
be used together.