List Option
Description
Generates a single, simple, list option.
Must be contained inside a List Data macro.
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|
Value |
|
|
| The plaintext value for the option. Must be unique. This value may use injection. |
Label |
|
|
| The plaintext label for the option. |
Sort Value |
|
|
| A string which can be used to determine the order in which the options appear in the list. If the Sort Value parameter is not specified, the Label or Value text will be used for sorting instead. For example, if you have a series of List Option macros, each with the value of Banana, Watermelon, Durian, Apple, Guava, Orange, Apricot, and Peach, (in that specific order) then Scaffolding will render it thus: But if you wanted Scaffolding to render it exactly how you ordered it, you can use the Sort Value parameter of each macro and add a value string to sort them as you see fit: You will then get a result of: |
Editor View
Macro Edit View
Not applicable.
Notes
Not applicable.