Lists and MultiList Fields allow the user to select an Item from a set of options. A List contains just one layer of options (a ‘flat list’), whilst a MultiList is hierarchical and allows List Items to be nested within other List Items.

List

Click here to see the full list of attributes that you can include within the List and Item tags.

This example codes for a simple, non-optional List with the caption “Which language do you speak?”. Each of the Item elements inside the List represents an option with which the user can answer the question. This example also specifies that the default Item be pre-selected when the user first sees the list. The first Item, with value “English” is marked as the default Item. If the user does not interact with the list then this will be selected as their answer.

 

Multilist

Click here to see the full list of attributes that you can include within the Multilist and Item tags.

This example code is for part of a MultiList. This hierarchical list is achieved by nesting Item fields within a MultiList (similar to how Choice fields are set out). The options provided to the user at each step will depend on what answer they chose for the previous questions. To exemplify, the image on the far left shows the options presented to the user if they clicked (Europe->UK) in the first two questions. The image on the right shows the options presented to the user if they clicked (Europe->France) in the first two questions.

 

Titles for the sub-lists are specified by providing the MultiList with ‘captions’. In this example the captions are “Continent:”, “Country:” and “Town:”. London, UK and Europe have been marked as the default answers which are pre-selected when the user first reaches the Field.