<CFSELECT NAME="name"
REQUIRED="Yes/No"
MESSAGE="text"
ONERROR="text"
SIZE="integer"
MULTIPLE="Yes/No"
QUERY="queryname"
SELECTED="column_value"
VALUE="text"
DISPLAY="text">
</CFSELECT>
NAME
Required. A name for the form you are creating.
SIZE
Required. Size of the drop-down list box in number of entries.
REQUIRED
Optional. Yes or No. If Yes, a list element must be selected when the form is submitted. Default is No.
MESSAGE
Optional. Message that appears if REQUIRED="Yes" and no selection is made.
ONERROR
Optional. The name of a valid JavaScript function you want to execute in the event of a failed validation.
MULTIPLE
Optional. Yes or No. Yes permits selection of multiple elements in the drop-down list box. The default is No.
QUERY
Optional. Name of the query to be used to populate the drop-down list box.
SELECTED
Optional. Enter a value matching at least one entry in VALUE to preselect the entry in the drop-down list box.
VALUE
Optional. The query column value for the list element. Used with the QUERY attribute.
DISPLAY
Optional. The query column displayed. Defaults to the value of VALUE. Used with the QUERY attribute.
|