you just need to set the selected item as selected in the dropdown

<select name="acme">
 <option value="abc" selected>text</option>
</select>

when the user submit the form, just store the seelected value in a session
variable and use this to set the SELECTED attribute.

e.g.

<select name="acme">
 <option value="abc" #IIF(StructKeyExists(session,'acme'),
"'selected'","''"))#>text</option>
</select>




--
Russ Michaels
www.cfmldeveloper.com - Supporting the CF community since 1999
FREE ColdFusion/Railo hosting for developers.

blog: www.michaels.me.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338949
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to