Jump to content

Forms Help!


mattclements

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

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.