If you want it done on the fly then you need to use JavaScript.  I use
qForms for this, but I usually have more like 6 related boxes.  If you
will be doing just two or three, you could use Nate's tags,
TwoSelectsRelated or ThreeSelectsRelated.  With Nate's tags you just 
need
to get your recordset returned to match his tags needs.  With qForms 
you
would have to build the JavaScript structures via either CF inside the
script or making the structure in CF and then using WDDX to get it 
into
the JS.

http://www.pengoworks.com/index.cfm?action=qForms

http://devex.allaire.com/developer/gallery/info.cfm?ID=CA347197-2830-1
1D4-AA9700508B94F380&method=Full
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA3471A1-2830-1
1D4-AA9700508B94F380&method=Full

Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion">


On Wed, 18 Jul 2001, Carlo van Wyk wrote:

> Hi
> 
> I would like to have 2 dropdown select boxes. Both the dropdown 
boxes'
> values will be from a database. If you select the first dropdown 
box, the
> second dropdown box values will be populated according to the value 
obtained
> from the first dropdown box.
> 
> ie. Select Car
>     Select Model
> 
> I tried to use an example that uses javascript, but i get problems 
as these
> two select boxes will be used inside an existing form. Surely one 
must be
> able to do this in coldfusion without javascript - maybe with 
cflocate? Any
> examples or help will be appreciated.
> 
> Regards,
> 
> Carlo van Wyk
> ColdFusion Developer
> SOLVE Consulting
> [w] www.solve.co.za 
> [c] +27 83 454 3533
> [t] +27 21 447 1108
> [f] +27 21 447 1128
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to