Choice fields
The Choice fields category of the toolbox holds the questions where a person picks from ready options: Single choice, Multiple choice, Ranking and Matrix. First we explain how options are entered, then the settings of each type.
Entering options
Section titled “Entering options”The options are in the Choices table in the Data section of the Properties panel. On the design surface, Edit options on the element’s toolbar opens the same list.
Each row has two columns:
- Value: the code saved for the option, for example
yol. Expressions, reports and exports use this value. The same value cannot appear twice in a list (“Another row has this value too.”). - Label: the text the person sees, for example “Yol”. It is entered separately for each language of the form.
Row actions:
- Add row adds a new option. Enter goes to the next row, and on the last row opens a new one.
- Alt+Up and Alt+Down move the row; Alt+Delete removes the row. The row’s actions menu also has Move row N up, Move row N down and Remove row N.
- Quick entry: for typing many options at once. Write one option per line:
value | labelor just the label. You can paste from Excel. Apply puts them into the list.
If you change the value of a published option, the designer warns: “The value changed (was yol). Expressions are not rewritten; update the ones that read this value by hand.” Older submissions keep the old value; so rather than changing the value of a published option, change its label.
Details of an option
Section titled “Details of an option”When you open a row’s details, these settings appear:
| Setting | What it does |
|---|---|
| Visible when | If the expression is false, the option does not appear in the list. |
| Enabled when | If the expression is false, the option appears but cannot be picked. |
| Image | The option’s picture (Choose an image, Replace the image, Remove the image). Used in the appearances with images. |
| Video | A video added to the option. |
| Region on the picture | In the Regions on a picture appearance, the option’s place on the picture: Shape (Rectangle, Circle, Polygon) and Coordinates (percent). |
| Only on its own | In multiple choice, picking this option clears the others (like “None of these”). |
| Elements it opens | Elements that open right below when this option is picked (at most 20). Add a comment field adds a “Details” box in one click. |
Taking options from elsewhere
Section titled “Taking options from elsewhere”Instead of typing the options by hand, you can use one of three sources:
- Generate from a number range: you give Minimum, Maximum and Step; for example 1 to 10. The value type becomes number.
- Take from another element: the options come from another question in the form. Choose the Source element, and What to take: All, Selected or Not selected. If the source is an element with rows, Value field and Label field say which columns are used. Example: the question “İlk 3 tercihinizden hangisi en önemli?” takes the Selected options of the “Tercihleriniz” multiple choice.
- Data source: the options come from one of your organization’s lists or queries. See below and Data sources and lists.
Single choice
Section titled “Single choice”The person picks only one of the options. Its variants in the toolbox: as a list, buttons, with images, on a picture, searchable.
| Setting | Values | What it does |
|---|---|---|
| Appearance | Dropdown, Radio buttons, Buttons, Image grid, Regions on a picture, Searchable list | How the options are shown. Searchable list for long lists, Image grid for options with pictures, Regions on a picture for picking a region on a vehicle sketch. |
| Placeholder | Text | The text shown in a dropdown before anything is picked. |
| Choices | Table | The list described above. |
| Value type | Text, Number | The type of the values. If you choose number, you can calculate with the value in expressions (puan > 3). |
| Option order | As written, A to Z, Z to A, Shuffled | The order the options are shown in. Shuffled shows each person a different order (to reduce the order effect in surveys). |
| “Other” choice, “Other” label | Adds “Other” at the end of the list; when picked, a box opens for the person to type in. | |
| “None of these” choice, “None of these” label | Adds a “None of these” option. | |
| “Prefer not to answer” choice and its label | Adds this option. | |
| “Don’t know” choice and its label | Adds this option. | |
| Options open when | Expression | An enabling condition applied to all options together. |
| Hide when there are no options | On / off | Hides the question if no option is left to show because of conditions. |
| Columns | 1–6 | How many columns the options are laid out in, in the button and image appearances. |
| Image fit | Fill and crop, Show it whole | How the option images fit into their box. |
| Show option names | On / off | In the appearances with images, writes the label below the image. |
| Picture of the regions | Image | The background picture of the Regions on a picture appearance. |
| Can be cleared | On (default) / off | Whether the person can undo their choice and leave the question empty. |
| Data source | Source | The organization list or query the options come from. |
| Fill on selection | At most 10 fields | Writes the extra columns of the row picked from the data source into other fields of the form. |
The values of the special options (“Other”, “None of these”, “Prefer not to answer”, “Don’t know”) are reserved; you cannot use these values in your own options (“The value “…” is kept for a special choice.”).
Multiple choice
Section titled “Multiple choice”The person ticks more than one option. Variants: tags, with images, on a picture. The answer is the list of picked values.
All the option, order, special option, data source and image settings of single choice are here too. What differs:
| Setting | Values | What it does |
|---|---|---|
| Appearance | Checkbox, Tags, Image grid, Regions on a picture | A checkbox list, a tag box, image cards or regions on a picture. |
| Minimum selected, Maximum selected | Number | The fewest options that must be picked and the most that can be picked. |
| “Select all” button, “Select all” label | Adds an option at the top of the list that ticks all the options. |
If an option’s Only on its own setting is on, picking that option clears the other ticks.
Ranking
Section titled “Ranking”The person puts the options in order of importance: “Bu eğitim konularını önceliğinize göre sıralayın”. Variant: with arrows.
| Setting | Values | What it does |
|---|---|---|
| Appearance | Drag and drop, Arrows | Order the options by dragging or with up and down arrows. Arrows are easier on a touch screen and with the keyboard. |
| Choices | 2–100 options | The items to be ranked. |
| Value type | Text, Number | The type of the values. |
| Option order | As written, A to Z, Z to A, Shuffled | The starting order. |
| Rank by selecting (two panes) | On / off | If on, two panes appear: the person moves the options they want from the unselected pane into the ranked pane; they do not have to rank them all. |
| Pane layout | Side by side, One above the other | How the two panes are placed. |
| Minimum selected, Maximum selected | Number | In the two-pane view, the fewest and most options to rank; for example a maximum of 3 for “İlk 3’ü seçin”. |
The answer is the ordered list of the options’ values.
Matrix
Section titled “Matrix”A table: the rows are questions, the columns are shared answer options. Example: “Araç bölümlerinin durumu”, with the rows “Farlar”, “Lastikler”, “Frenler” and the columns “İyi”, “Orta”, “Kötü”.
| Setting | Values | What it does |
|---|---|---|
| Rows | List of values and labels | The items being assessed. Each row can have its own Visible when condition. |
| Columns | 2–30 | The answers that can be picked in each row. |
| Multiple selection | On / off | When off, one column is picked in each row; when on, more than one. |
| Every row required | On / off | Requires every row to be answered. |
| Unique choice across rows | On / off | The same column cannot be picked in two rows (each column is used once). |
| Row order | As written, Shuffled | The order the rows are shown in. |
| Cell texts | Row, column, text | Your own text to show next to the option in a particular cell. |
| Rows per page | Number | Splits a matrix with many rows into pages. |
| Swap rows and columns | On / off | Turns the table around: the items in the columns, the answers in the rows. |
To require every row to be answered, turn on Every row required.
Connecting to a data source
Section titled “Connecting to a data source”The options can come from one of your organization’s lists (for example “Araç listesi”) or from a query. Your organization’s administrator defines the sources in Administration → Configuration → Data sources; see Data sources and lists.
- Select the choice question; in the Data section, pick the source from the Data source list. If “No source” is selected, the options are entered by hand.
- If the source has parameters, choose Where the value comes from for each: From an answer (another question in the form, for example the selected province) or A constant. Required parameters are marked “required”.
- When the source is down: Refuse the submission (the default; if the sent value cannot be verified against the source, the submission is not accepted) or Accept unverified.
- If you like, use Fill on selection to write the extra columns of the picked row into other fields: in each row, a
Column and the field to fill. Example: when a vehicle is picked, the
markacolumn is written into the “Marka” question. The filled field becomes read-only; the server derives its value again.
Forms with a question that uses a data source cannot be given a public link.
Related pages
Section titled “Related pages”- Input fields
- Conditions, calculations and validation
- Scoring and time: giving points to options.