Jump to content

Radio button values not sent


Go to solution Solved by 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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.