Forum Moderators: coopster
I have a bunch of products i want to add to a database, i have a form to submit the products to the database.
What i need to crack is to have a drop down box for category 1 (beer or wine) and then automatically populate the drop down box for category 2 depending on the first selection
if cat1 = beer then cat2 options = Lager, Malt, Stout.
if cat2 = Stout then cat3 = Guiness, london, Old boot.
if cat3 = Guiness then cat4 = Bottle, Can.
I have four sub categories so need this to work on the fly before adding al info to the database.
If you can point me in the right direction i would appreciate it.
thanks Gecko
otherwise use onChange event of the dropdown and call a page that populates the second dropdown based on the value selected in the first dropdown box however this will reload page on each selection of first dropdown