tork Posted January 14, 2014 Share Posted January 14, 2014 This is a general question, thus no script. I'm looking for hints as to what could cause the following: Is there any reason that javascript or jQuery include scripts could prevent radio button values from being sent to the server while all other values from selects and texts are correctly sent? When not using the javascript or jQuery includes the radio values are sent. Quote Link to comment https://forums.phpfreaks.com/topic/285364-radio-button-values-not-sent/ Share on other sites More sharing options...
tork Posted January 14, 2014 Author Share Posted January 14, 2014 Oh, I get the same results in browsers IE8, FF 26 and Chrome 32. Quote Link to comment https://forums.phpfreaks.com/topic/285364-radio-button-values-not-sent/#findComment-1465223 Share on other sites More sharing options...
cyberRobot Posted January 15, 2014 Share Posted January 15, 2014 JavaScript/jQuery can be used to filter the information passed through a form. One scenario where this could be useful is with registration forms. For example, the form may have a Yes/No question on whether the registrant is planning to attend the meals. If they check no, you probably don't need any of the follow-up responses. If the registrant isn't going to the meals, it's unlikely that we'll need to know if they're bringing someone to those meals. Note that I typically use PHP to handle this type of filter, but it can also be accomplished with JavaScript/jQuery. Quote Link to comment https://forums.phpfreaks.com/topic/285364-radio-button-values-not-sent/#findComment-1465343 Share on other sites More sharing options...
Solution tork Posted January 15, 2014 Author Solution Share Posted January 15, 2014 For those of you who have the same issue, I found it was a class conflict in css. Quote Link to comment https://forums.phpfreaks.com/topic/285364-radio-button-values-not-sent/#findComment-1465349 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.