Overview
DemandFlow provides two additional selection field types alongside the Indexed Select:
- Single Select (
singleselect) — a dropdown that allows selecting one option from a predefined list - Multi Select (
multiselect) — a dropdown that allows selecting multiple options simultaneously
These work similarly to the Indexed Select but are designed for slightly different use cases.
Single Select Properties
| Property | Required | Description |
|---|---|---|
| ID | Yes | The field identifier. |
| Type | Yes | Must be set to singleselect |
| Name | Yes | The display label. |
| Options | Yes | An array of selectable options. |
| Width | No | The percentage width. |
| Required | No | When true, a selection is required. |
| Grid | No | When true, appears in list views. |
| Visibility | No | A condition controlling visibility. |
Multi Select Properties
The Multi Select field supports all the same properties as Single Select, but allows users to choose more than one option. Selected values are stored as a collection on the record.
Single Select vs. Indexed Select
| Feature | Single Select | Indexed Select |
|---|---|---|
| Single selection | Yes | Yes |
| Colour coding | No | Yes |
| Scoring | No | Yes |
| Visibility trigger | Yes | Yes |
| Best for | Simple selection without visual indicators | Status fields, rated fields, colour-coded categories |
When to Use Multi Select
Use Multi Select when a record needs to be tagged with multiple values from a fixed list. Examples include:
- Skills — selecting multiple skills or competencies
- Categories — tagging a record with multiple categories
- Applicable regions — selecting which regions a policy or product applies to
- Notification preferences — selecting multiple notification channels
Best Practices
- Use Indexed Select when you need colour coding or scoring
- Use Single Select for simple dropdown choices without visual indicators
- Use Multi Select when users need to choose multiple options
- For dynamic option lists that grow over time, consider using Tags or Object Lookup instead of a fixed select list