Assign options
Fill a drop-down or choice list with options, e.g. from a list or a data table column.
Command in the Interactive forms toolkit · id ooa.forms/assign · 5 inputs (3 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Name | String | Yes | Name of the open form (by default the form's id, as given when it was displayed). | |
| Element | String | Yes | Id of a drop-down or choice field. | |
| Options | Any | Yes | The options to offer, in order: a list, or text with the options separated by commas (G1). | |
| Select | String | No | Option to select; the current choice is kept when it is still offered. | |
| Mode | String | No | replace | replace: offer only these options. append: add them after the options already offered, skipping ones already there. |