PDA

View Full Version : Hide/show a text box based on drop down list in php



TechnoAtif
11 Jan 2008, 01:29 AM
HI..

I am looking for php code that will enable me to hide/show a text box based on the users previous drop down list response. If javascript comes into use for it,
its a welcome solution

(1) I want the "additional" text box to ONLY display if the user answers the drop down list with "yes"
(2) If the user answers "no" to the previous drop down list I don't want the "additional" text box displayed
(3) When the form is originally opened I dont want it to display the "additional" text box.

Reagards
TechnoAtif