use
<cfselect display="rstate_name"
    value="'rstate_code'"

or something along these lines, ie add the '' in the option elements

> Subject: Add single quotes to each element on a list
> I have a multiple selection list of states in the US
> When the user selects several out of the list and submit, the selected
state
> Code are passed as  selState = 'AL,AK,AS,AZ,AR,CA,CO,CT,DC,DE,FL,GA'
> I wonder if there is a way to make the list like
> selState = 'AL','AK','AS','AZ','AR','CA','CO','CT','DC','DE','FL','GA'


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to