These example forms show the different ways you can generate, organise and use fields that present a list of options to users.
How Options Work
The checkbox group, drop-down, list box and radio group fields store their options as arrays of arrays.
Filtering Options in Lists
If your options are organised into groups, the filterOptions helper function can be used to control which options appear.
Options Function - Dynamically Populating Options
You can dynamically generate the options that appear in the checkbox group, drop-down list, list box, and radio button group fields.
_OPTIONDATA and _OPTIONGROUPS Variables
The list box and drop-down list fields store their possible values, ie their options, in two dedicated form variables. Updating these variables will update the list.
Making Lists and Checkboxes Required
Unlike most other fields the list box and checkbox group fields don't have a "required" property.