Skip to main content

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​

InputTypeRequiredDefaultWhat it is
NameStringYesName of the open form (by default the form's id, as given when it was displayed).
ElementStringYesId of a drop-down or choice field.
OptionsAnyYesThe options to offer, in order: a list, or text with the options separated by commas (G1).
SelectStringNoOption to select; the current choice is kept when it is still offered.
ModeStringNoreplacereplace: offer only these options. append: add them after the options already offered, skipping ones already there.