<option value="ID" <cfif queryid eq
currentid>selected</cfif>>Name</option>

When you output the list of options check to see if the current id of
the item equals the one stored in the DB is so add the selected
attribute.
-----Original Message-----
From: Ben Covington [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 15, 2002 8:00 AM
To: CF-Talk
Subject: Dropdown Box

Hello All,

When recalling a stored value that was submitted by a dropdown box, is
there a way to have the dropdown box show the chosen value when
returning to that form?  

Any suggestions?

Thanks, Ben




______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to