Page 1 of 1

Help ! dropdown menu

Posted: Tue Jan 04, 2005 6:38 am
by dmakris
Hello everybody, happy new year.

I would like to add a dropdown menu in my signup php page with 3 different options for the user. If the user selects the 1st option the script has to show 3 more "hidden" text fields in the same page. If the user selects the 2nd or 3rd option the page remains the same.

Thanks in advance for the help.

Posted: Tue Jan 04, 2005 7:47 am
by n00b Saibot
u can do so using JavaScript, so there is no need of PHP in this matter. use style-sheets to hide the 3 hidden fields which u can afterwards show if user selects 1st option.

Posted: Tue Jan 04, 2005 8:15 am
by CoderGoblin
One method is explained more fully in this link:

http://www.htmldog.com/ptg/archives/000050.php

Regards