Follow

cml:select - Drop-down Menu

cml:select

Renders a drop-down menu. Accepts all common attributes.

<cml:select label="Sample select box:"> 
<cml:option label="Option 1" />
<cml:option label="Option 2" />
<cml:option label="Option 3" />
</cml:select>

 

The <cml:option /> children elements accept the following attributes:

label
The visible label for this option. This is different than the parent <cml:select> element's label attribute, which is the label for the entire drop-down menu.
value
The value that gets submitted if the contributor selects the corresponding option. If this isn't present, the value of the label attribute is submitted.

Was this article helpful?
0 out of 0 found this helpful


Have more questions? Submit a request
Powered by Zendesk