Layout and groups
The Layout and groups category of the toolbox holds containers, elements that hold other elements: Section, Field group, Repeating rows and Table. To add an element inside a container, select the container and click a type in the toolbox, or drag the type into the container.
Section
Section titled “Section”Gathers the questions of a page under a heading: “Araç bilgileri”, “Kabin kontrolü”. It only arranges how things look; the keys of the questions inside it do not change.
| Setting | Values | What it does |
|---|---|---|
| Label | Text (required) | The heading of the section. |
| Collapsible | On / off | The person can close and open the section. |
| Starts collapsed | On / off | A collapsible section opens closed. |
| Question order | As written, Shuffled | The order of the questions in the section. |
| Question numbers | None, Start over | No numbers are shown in the section, or numbering starts again at 1 in the section. |
| Label position | Above, Beside | Where the labels of the questions in the section go. |
The section’s Visible when condition hides all the questions inside it together. In scored forms the section score can also be calculated separately (see Scoring and time).
Field group
Section titled “Field group”Gathers questions that belong together under a single answer: an “Adres” group holding İl, İlçe and Açık adres. Unlike a
section, a group has a key, and the questions inside it are saved under that key: in expressions you write adres.il, and in
exports the columns carry the group’s name. You can use the same key inside two different groups (ev_adresi.il,
is_adresi.il).
You can turn a field group into a reusable set: select the group and use Make one from a group in the Composites view (see Translation, theme and reusable sets).
Repeating rows
Section titled “Repeating rows”Lets the person fill in the same set of questions as many times as needed: expense items, a passenger list, materials used. Each row has the questions (columns) you put inside the element; the person adds a row with Add row.
| Setting | Values | What it does |
|---|---|---|
| Layout | Panels, Table, Tabs | Each row shows as a card one under the other, as a row of a table, or as a separate tab. Use Table for short items with few columns, Panels for rows with many questions. |
| Minimum rows | Default 0 | The fewest rows that must be filled. If you set 1, the form opens with one row. |
| Maximum rows | At most 1,000 | The most rows that can be added. |
| Add button label | Text | The text of the Add row button, for example “Kalem ekle”. |
| Row label | Text | The heading of each row in panels and tabs, for example “Kalem”. |
| Row visible when | Expression | Hides a row based on the answers inside that row. |
| Row count (expression) | Expression | Ties the number of rows to an answer; for example, as many rows open as yolcu_sayisi. In this case the person cannot add or remove rows. |
| New row copies the last one | On / off | A newly added row comes filled with the answers of the row before it. |
| Rows can be moved | On / off | The person can change the order of the rows. |
| Ask before removing | On / off | Asks for confirmation when a row is removed. |
| Where a new row goes | At the end, At the start, After the selected row | Where an added row is placed. |
| Where the add button stands | Bottom, Above, Both | Where the add button is placed. |
| Rows per page | Number | In the table layout, splits the rows into pages. |
| People can sort | On / off | In the table layout, the person can sort by clicking a column heading. |
| Sort bar | On / off | Shows a sort choice above the table. |
| Rows to show | Expression | In the table layout, shows only the rows that match the expression (a filter); hidden rows are not deleted. |
| Hide empty columns | On / off | Hides, in the display, columns that have no answer in any row. |
The Answer count validator also limits the number of rows. In expressions you reach the rows with kalemler[*].tutar, and
inside a row with $row.index, $prev and $next (see Conditions, calculations and validation).
Column settings
Section titled “Column settings”Questions inside Repeating rows and a Table show three extra settings:
| Setting | Values | What it does |
|---|---|---|
| Unique across rows | On / off | The same value cannot appear in two rows of this column (the same plate cannot be entered twice, for example). |
| Column total | Sum, Average, Lowest, Highest, Count | Shows a summary of the column under the table. |
| Initial order | Ascending / descending | Sorts the rows by this column when the table first opens. |
A fixed table whose rows you decide: rows for “Haftanın günleri” with the columns “Giriş saati” and “Çıkış saati”; rows for “Lastikler” (Ön sol, Ön sağ, Arka sol, Arka sağ) with the columns “Diş derinliği (mm)” and “Basınç (bar)”. The person does not add or remove rows, they only fill in the cells.
| Setting | Values | What it does |
|---|---|---|
| Rows | At most 100; each row has a Value, a Label and an optional visibility condition | The fixed rows of the table. |
| Columns | 1–30 | The questions you add inside the table. Types that hold a value can be columns: input, choice, file, computed value and the like. Section, field group, repeating rows, table, matrix, text block and image cannot be used. |
| Row order | As written, Shuffled | The order in which rows are shown. |
| Swap rows and columns | On / off | Turns the table around. |
| Rows per page, People can sort, Sort bar, Rows to show, Hide empty columns | The same as the table view settings of Repeating rows. |
The difference between a Table and a Matrix: in a matrix every cell is one of the same choices; in a table every column is a question type of its own (number, text, choice…).