RE: Dropdown Box

2002-05-15 Thread Joshua Tipton

look up IIF

-Original Message-
From: Ben Covington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 9: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




__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Dropdown Box

2002-05-15 Thread Kevin Schmidt

option value=ID cfif queryid eq
currentidselected/cfifName/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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Dropdown Box

2002-05-15 Thread Ben Covington

Thanks Gents!

-Original Message-
From: Kevin Schmidt [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 15, 2002 9:08 AM
To: CF-Talk
Subject: RE: Dropdown Box


option value=ID cfif queryid eq
currentidselected/cfifName/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





__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists