Click to See Complete Forum and Search --> : select feeding php


daed17
08-18-2003, 04:55 PM
How can I take the select value and check it and if value = x then replace the select box with a text input line?

I am sure it is easy, I am just new to php and brain dead today.

pyro
08-18-2003, 05:00 PM
If you want this to happen real time, you'll have to use javascript. If you want it to happen when you submit the form, you can use PHP.

daed17
08-18-2003, 05:10 PM
ok, I am javascript clueless... got any examples?

Also this posting got sent twice (oops) kill the other one please.

pyro
08-18-2003, 05:18 PM
I've got to run, so you may be able to get an answer sooner by posting in the JavaScript forum.