field element defines an
enumeration field with the name
<field type="enumeration" name="review-type"> <enumeration value="film"/> <enumeration value="play"/> <enumeration value="book"/> <enumeration value="game"/> </field>
Note the following points:
in CUE an
enumerationfield is displayed either as a drop-down list from which the user can make a single selection or as multi-select list from which the user can make multiple selections.
The example above displays a
drop-downlist. To display a multi-select list you must add a
multiple="true"attribute to the field element.