I've understood how one can make a dropdown list editable using the cms:input tag.
The opt_values would allow me to make the items editable for the client. But is there a way to include optgroup elements using Couch?
My current HTML code goes something like this:
- Code: Select all
<cms:input type="dropdown"
name="subject"
label='Subject'
opt_values='Please select a subject=- | General enquiry | Booking enquiry'
opt_selected='General enquiry'
required='1' />
The opt_values would allow me to make the items editable for the client. But is there a way to include optgroup elements using Couch?
My current HTML code goes something like this:
- Code: Select all
<option>xy</option>
<optgroup label="xx">
<option>xy</option>
<option>xy</option>
</optgroup>
<optgroup label="yy">
<option>xy</option>
<option>xy</option>
</optgroup>
<option>xy</option>
<option>xy</option>