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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/285364-radio-button-values-not-sent/#findComment-1465343 Share on other sites More sharing options...
tork Posted January 15, 2014 Author Share Posted January 15, 2014 For those of you who have the same issue, I found it was a class conflict in css. 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
Archived
This topic is now archived and is closed to further replies.