Page 1 of 1
conditional dropdown
Posted: Sat Feb 07, 2004 4:40 pm
by grudz
I did a search to see if this question was already asked, but found nothing, i would like a dropdown menu to have 5 values, then the other dropdown menus' information depend on what the user choses in the first.
any ideas?
Posted: Sat Feb 07, 2004 6:41 pm
by DuFF
This would be more suitable for javascript. PHP is server-side, while javascript works clientside.
Posted: Sat Feb 07, 2004 9:34 pm
by MrCol
just done something like this, yes you will need js. Getting all the values etc from a database and slapping it all in correctly and matching it all up correctly was a pain to say the least.
Anyways, here is where i got a starter as far as the javascript was concerned ...
http://www.oneworldisp.net/tools/form/form.html