DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ColdFusion (http://www.daniweb.com/forums/forum19.html)
-   -   Coding for drop down boxes (http://www.daniweb.com/forums/thread28473.html)

imarti10 Jul 19th, 2005 12:19 pm
Coding for drop down boxes
 
I am wondering and not sure if it is possible but, does anybody know if it is possible to have a drown down box on a form page and then on a results page have a drop down box appear that would refine a search result but only give options in the drop down box that would be relevant to the original choice selected in the form pages drop down box?

Thanks

red_evolve Jul 19th, 2005 10:27 pm
Re: Coding for drop down boxes
 
Hi. Is what you were asking something like this: http://daniweb.com/techtalkforums/thread25510.html

anuradhu Apr 18th, 2006 7:16 am
Re: Coding for drop down boxes
 
try this:

on change of the first combo/list submit the form and pass the value of the combo to the query to fetch the records satisfying this value....
then populate the second combo accordingly based on the recordset from the second query

hope this helps...


All times are GMT -4. The time now is 12:07 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC