veroaero Posted May 28, 2006 Share Posted May 28, 2006 Hi!I need some help for a smart way of checking that the drop down form was used and a value was chosen. I know that I can check this with $_POST variables afterwards but the question is, can I do it before the actual Submit button is hit?Something like this: The submit button is not visible until the dropdown form has been used? Or is this a stupid thing to do? Quote Link to comment https://forums.phpfreaks.com/topic/10638-check-drop-down-form/ Share on other sites More sharing options...
ToonMariner Posted May 28, 2006 Share Posted May 28, 2006 You need javscript for that.on your <select ... you should add the onChange="" attribute and point it to a suitable js function to do the checking.Google for js scripts there will be plenty for this. Quote Link to comment https://forums.phpfreaks.com/topic/10638-check-drop-down-form/#findComment-39691 Share on other sites More sharing options...
veroaero Posted May 28, 2006 Author Share Posted May 28, 2006 Ok, thanks! Quote Link to comment https://forums.phpfreaks.com/topic/10638-check-drop-down-form/#findComment-39698 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.