Jump to content

Radio button values not sent


tork

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.