Option Set
Description
An option set essentially represents a list of values appropriate to a field.
Display Formats
Supports the following display formats
| Format | Description |
|---|---|
| Type Ahead | Suggests a valid value for the field based expanding on the user input |
| Drop Down | Provides a list of values as a Drop Down. Allows a default value to be specified |
| Tiles | Shows choices as selectable cards. Supports single or multiple selection. See Tiles on forms. |
Multi-select option sets
Configure a multi-select option set when a field can hold more than one choice. Depending on the chosen display format, people can select options in a drop-down, a checkbox list, or tiles. Each option needs a distinct key; the field stores the selected keys together.
Populate a multi-select field
A Set Field Value event adds one option key to the current selection. To add several options, link one event per key in the order they should run. For example, if options 1 and 3 are selected, an event that sets 4 leaves 1, 3, and 4 selected. Setting 4 again has no further effect.
To replace the selection, put a Set Field Value event with the Clear value source before the events that add the new keys. Clearing first, then setting 2 and 4, leaves only 2 and 4 selected. There is no event operation to remove just one selected option.
The same add behavior applies when a single option key is populated from an Integration Workflow or a data poll, including when the target field is on a later page. Arrange a Clear event before the population step when its result should replace earlier selections. A supplied list of keys sets the complete selection. If an option's conditional visibility matters, populate it after the target field becomes available so its visibility can be checked.
Use keys that exist in the option set. When the target field is available on the form, an unknown key is ignored. If an option is conditionally hidden and configured to delete its value when hidden, attempts to add that option while it is hidden are ignored. For fields on later pages, configure population after the target field appears when these checks are needed.
See Set Field Value for event ordering and target-field scope.