I think you've got me pointed in the right direction Nick, but something is
still missing. This is what I've changed, based off of your code:
<cfset myList = ValueList(qdMcd.mcd)>
<cfselect name="mcd" id="mcd" size="3" query="mcds" group="cnty_name"
display="mcd_name" value="semmcd" queryPosition="below" required="yes"
multiple="yes" message="You must select at least one location." onChange=""
style="width:230px;">
<option value="8999" >Southeast Michigan</option>
<cfloop query="qdMcd">
<cfoutput>
<option value="#qdMcd.mcd#"<cfif listFind(myList, qdMcd.mcd,",")>
selected</cfif> >#qdMcd.mcd#
</option>
</cfoutput>
</cfloop>
</cfselect>
I'm not getting any errors, but it's also still only selecting the first value
in the list. Any thoughts as to what I'm doing wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:4044
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15