Possible to use PHP for form select OnChange event?
Posted: Thu May 24, 2007 2:22 pm
I'm a PHP n00b and need to know if it's possible to use PHP to show/hide form elements based on a previous <select> element's OnChange event..........I've tried a couple of things that haven't worked.....
I have been told to avoid using javascript if at all possible because of the fact that some users will either have javascript turned off in their browsers or blocked at the firewall level - but I need to find a way for some form fields to remain hidden unless other form fields have been selected or checked.......
If it's possible to do this with PHP then I don't mind spending the time to learn how to do it, but if it's not possible and I simply must use javascript, then I won't waste the next few days of my time trying to figure it out in PHP.
Thanks for any advice and all advice offered.......
I have been told to avoid using javascript if at all possible because of the fact that some users will either have javascript turned off in their browsers or blocked at the firewall level - but I need to find a way for some form fields to remain hidden unless other form fields have been selected or checked.......
If it's possible to do this with PHP then I don't mind spending the time to learn how to do it, but if it's not possible and I simply must use javascript, then I won't waste the next few days of my time trying to figure it out in PHP.
Thanks for any advice and all advice offered.......