In my form i building the number of dynamic select boxes. And it works .
The only thing that does not work when i make the selection and save into the
databse and then come back it does not do the preselect. How can i do this
This it works for dispaly the drop down
<cfset selectOptions = selectOptions & '<option
value="#options#_#id#">#options#</option>'>
And something like this i need to get the option to be preselected
<cfset selectOptions = selectOptions & '<option value="#options#_#id#" <cfif
qryAnswers.questionID eq #ListFirst(evaluate("form.#field#"),
"_")#>selected</cfif>>#options#</option>'>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312446
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4