cml:select - Drop-down Menu


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" />

Note: You can allow contributors to submit more than one answer by using the attribute multiple="true".


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

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.
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?
3 out of 3 found this helpful

Have more questions? Submit a request
Powered by Zendesk