List Option

Description

Generates a single, simple, list option.

Must be contained inside a List Data macro.


Parameters

NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
Value
 Yes
Server, Data Center
No

The plaintext value for the option. Must be unique.

This value may use injection.

Label
 Optional
Server, Data Center
No
The plaintext label for the option.
Sort Value
 Optional
Server, Data Center
No

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

Tutorial Examples