View Single Post
  #2  
Old 06-23-2008, 07:10 PM
navaldesign's Avatar
navaldesign navaldesign is offline
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: Linking Combo Box's Contents together

What you ask for requires some degree of experience or a tool to achieve.
You can do it in two ways:
1. Using Javascript, with embeddd in the page JaVascript. Have a look at http://www.dbtechnosystems.com/Tips/...drop_downs.php
This is a three level dependent drop down based on a script found (if i recall well) on Dynamic Drive and modified from the original two level.
2. Using Ajax (which is Javascript plus a server side programming language like php or Perl). Have a look at this application i made for a client of mine: http://www.evansconstructionpages.com/

When you select a State, the counties dropdown is automatically populated, the same for categories and subcategories. This is the best solution if you have too many values (in this case, thousands).

Search the net, there are dropdown creation tools if you have only a few values and you can make it with simple Javascript
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Reply With Quote