A Formulus form reads from top to bottom, row after row. Each row divides its width into one, two or three columns, and the fields take their place in them.
Rows are set in the Fields tab, Rows section. The + adds a row below the line where it is clicked, the − removes it, the handle moves it.
What is set in the line
| Setting | What it does |
|---|---|
| Title | Optional. Shown above the row, it groups its fields: "Your details", "Your project". |
| Heading level | Automatic, or H2 to H6. It only appears when the row has a title. |
| Columns | One, two or three. |
| Ratio | How the width is shared between columns: equal parts, 8/4, 4/8, 7/5, 3/6/3... It only appears from two columns. |
| Background | None, alternate or tinted. Under Corpus, these are the template's section backgrounds; elsewhere, a light Bootstrap tint. |
A row title is a real group
A titled row becomes, on the site, a group of fields: a fieldset and its legend. A screen reader announces "Your details" when entering the group, and the visitor knows what the following fields are about. That is what WCAG and the French RGAA ask for fields of the same kind.
The heading level sets the title's rank in the page outline, not its size: the look belongs to the template. With Automatic, the title stays the group's legend, without a heading tag. With H2 to H6, the title becomes a real heading, placed inside the legend, and it shows up in the page outline screen readers browse.
Do not use H1: there is only one per page, and it belongs to the content.
Behind the cog: class and description
The cog at the end of the line opens the row's settings in the Settings block, at the bottom of the right-hand column (chapter The Settings block and the cog):
- Class: a name to style the row in the Custom CSS tab;
- Description: a short text shown under the title, for instance "We never pass on your number". It is linked to the group, and a screen reader reads it with the title.
The purple badge on the cog counts the settings filled in.
Removing a row
A field points to its row by number. If you remove row 2, the fields that used it move to the last row that exists, and the What will be output block shows it at once. Check it before saving.
Up to date for Formulus 1.0.237.