fm:Switch
The Switch allows you to create a 'switch' control structure, as it is often found in programming languages.
Example
<fm:Switch value="1">
<fm:Case value="1">Number 1!</fm:Case>
<fm:Case value="2">Number 2!</fm:Case>
<fm:Case value="3">Number 3!</fm:Case>
<fm:Default>No Number :(</fm:Default>
</fm:Switch>
Supported attributes
| Name | Required | Default | Description |
|---|---|---|---|
| value | Required | N/A | The value to compare the cases to |
developer documentation r17362