Option 1
Option 2
[/select]
Select field.
Attributes:
| Attribute | Examples | Description |
| name* | name="unique_field_name" | The field name. Needs to be unique in the form. Required. |
| value | value="Option 2" value="2" | The initial selected option. Note: The value needs to match with the option value, so if you define an option like "2|Option 2", to select this option you need to set the value as value="2". Optional. |
| placeholder | placeholder="Choose an option" | Adds a disabled option at the start of the options list to work as placeholder. Optional. |
| multiple | multiple="multiple" | Allows user to select multiple options. Optional. |
| CONTENT* | [select] Option 1 Option 2 [/select] [select] 1|Option 1 2|Option 2 [/select] | The content inside the BBCode will be used as the field options. Options can be defined as "Text" or "Value|Text". When options are defined as "Text" the internal value will be the option text itself. When options are defined as "Value|Text" the internal value will be the "Value" part of the option and the option will be displayed as the "Text" part. Example: An option defined as "2|Option 2" will store the value "2" and show the text "Option 2". Required. |
This field also supports common HTML attributes, as well as label & description attributes.