I would write a little javascript function that sets a hidden form element
based on a parameter, then submits the form.  Let's call it "mySubmit()" for
the moment.

Dynamically create the first drop down list (and maybe cache the query if
that's where it comes from) and use
onChange="mySubmit('select1');"
or something like that.

If the form comes back with the hidden element set to select1, you can
create the second select based on the first.



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Les Mizzell [mailto:[EMAIL PROTECTED]]
: Sent: Monday, December 16, 2002 4:54 PM
: To: CF-Talk
: Subject: Dependant Form Select List
:
:
: Need to have the contents of a dynamically generated form drop down list
: depend on the selection of another dynamically generated drop down list.
:
: Not sure the best way to go about this...
:
: Suggestions Please?
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to