Choices
Last updated
Last updated
Choices allow you to define static lists for single or multi-select form fields. While these lists are inherently static, additional values can be manually added. For offline forms, new choice values become available after the form is synced. In online forms, all values that make the single or multi-select field are displayed when clicked.
For example, your form includes a dropdown field to capture employees' gender. Users can select either Male, Female, or Other Gender. In such cases, the choices option can be used to create a predefined list, as shown below.
List Name - Gender
This list will have three items
Item 1 - Male
Item 2 - Female
Item 3 - Other Gender
This list can then be associated to the "gender" field.
To create a pre-defined list, the following has to be configured
List Name - This is used to assign a logical name for easy identification of the list during association
Filter (Hierarchical) - By default, it is disabled. However, if the dropdown is hierarchical, meaning its values depend on the selection from another list, this option should be enabled.
Select List - This option is shown only for hierarchical lists. The dependent list should be provided here.
Item Name - This is an internal name used to unqiuely identify this value.
Item Label - The text in the label field is displayed in the dropdown of the form.
Options - This field is shown only for hierarchical lists. The list of values from the associated dependent list shoud be provided here.
You can create as many lists as you like in this section