Cool, thanks for the final answer.

Zelda

-----Original Message-----
From: Christina K [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2008 8:49 AM
To: cf-newbie
Subject: Re: need a cfselect multiple="yes" where more than one value is 
preselected

Thanks everyone, I got it working, yay!  Here's the code in case it helps 
anyone else:

<cfset myList = ValueList(qdMcd.mcd)>

<cfselect name="mcd" id="mcd" size="3" query="mcds" group="cnty_name" 
display="mcd_name" value="semmcd" selected="#valueList(qdMcd.mcd, ",")#" 
queryPosition="below" required="yes" multiple="yes" message="You must select at 
least one location." onChange="" style="width:230px;">

I should qualify, it works in IE but not Firefox, so if you need to support 
Firefox you'll need to make some changes.

Thanks again for all the help!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4057
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to