S
Steve Swift
I'm slowly learning Javascript (I suspect the target is moving away
faster though) but the challenge facing me is beyond my meagre skills.
I have a page with two sets of radio buttons. I'd like to take an action
only when both sets of radio buttons have a selected button.
How should I go about this? My actual page will probably have more than
two sets of radio buttons, but I can probably generalise from the case
of two sets with two buttons each. I can fabricate a test page if that
would help. In fact, I just did: http://swiftys.org.uk/buttons.html
The production page is where lucky people will go to claim prizes that
they have won. Each award has multiple choices of prize. I'll be using
JavaScript to prevent them submitting the form before they've made a
choice of prize in each award that they won. I know that it won't help
the folks with JavaScript disabled (about 0.001% of my target audience
as it is a Corporate requirement) but it will stop the others from
annoying my sever with incomplete requests.
faster though) but the challenge facing me is beyond my meagre skills.
I have a page with two sets of radio buttons. I'd like to take an action
only when both sets of radio buttons have a selected button.
How should I go about this? My actual page will probably have more than
two sets of radio buttons, but I can probably generalise from the case
of two sets with two buttons each. I can fabricate a test page if that
would help. In fact, I just did: http://swiftys.org.uk/buttons.html
The production page is where lucky people will go to claim prizes that
they have won. Each award has multiple choices of prize. I'll be using
JavaScript to prevent them submitting the form before they've made a
choice of prize in each award that they won. I know that it won't help
the folks with JavaScript disabled (about 0.001% of my target audience
as it is a Corporate requirement) but it will stop the others from
annoying my sever with incomplete requests.