troubleshooting Question

PHP code to hide/show text box based on answer to previous drop down list

Avatar of cofcmgr
cofcmgr asked on
Web DevelopmentPHP
10 Comments1 Solution6747 ViewsLast Modified:
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.  

(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.

Thank you very much!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros