Jump to content

Recommended Posts

Hello there,

Ok I am having a problem here.... The maker of a large script that my client is using has used Checkboxes rather than Radio Boxes, therefore:

When submitting the form their are 2 columns of data filled: Rights Managed, and Royalty Free, with a one or a zero (I think). You should only be able to select either/or.... basically if I use a radio selector this will only allow data entered to one of the columns.... So... I am ideally after a piece of easy JavaScript which deselects one option when the other is pressed.

 

Any ideas?

 

Thanks,

Matt

Link to comment
https://forums.phpfreaks.com/topic/107708-forms-help/
Share on other sites

You can use javascript, but if someone has it turned off, then it won't work. Your best bet is to go back to the designer and have him use radio buttons, or if you can get at the code yourself, do it yourself.

 

If this is impossible, then javascript is your only alternative. But it's an unreliable alternative.

Link to comment
https://forums.phpfreaks.com/topic/107708-forms-help/#findComment-552275
Share on other sites

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.