Select

Provides a number of options from a defined list of choices. For quick reference, see technical parameters.

Best practices

  • Use in forms to create a drop-down list.
  • Allows users to select one option. To select more than one option, use a Checkbox instead.

Example

<select name="Select" id="bocss-select-2" class="bocss-select__original " >
        <option value="Value 1">Value 1</option>
        <option value="Value 2">Value 2</option>
        <option value="Value 3">Value 3</option>
        <option value="Value 4">Value 4</option>
</select>

Shortcode


                [Select options="Value 1, Value 2, Value 3, Value 4" name="Select"]
            

Parameters

Parameter Values Description
options user-specified Defines the menu option
id user-specified ID of the Select field
class user-specified Class of the Select field
name user-specified Name of the Select field
default user-specified Use the first value as a default (No Value assigned)
error user-specified Type of error for the Select field