Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Radio Button / Check Box help Please

Avatar

Level 3

Ok, my form has two check boxes. (CheckboxOptionA & CheckboxOptionB)

There are also two radio buttons (Radio1 & Radio2) which have their own radio button groups (RadioGroupA & RadioGroupB)

How do I code this, so that when I check, the CheckboxOptionA it makes my Radio1 button active (or on!) and when I check the CheckboxOptionB it then makes both the Radio1 and Radio2 buttons active (or on!)

Thanks in advance.

5 Replies

Avatar

Level 3

Thanks for your promt help.

Your example does the first half of what I am trying to do here.....

I also need it to make both Radio1 and Radio2 buttons active when I check CheckboxOptionB

many thanks

Avatar

Level 3

This may help explain...http://i44.tinypic.com/296kbqb.jpg

When Option A is checked I need the radio button below it to become active.

When Option B is checked I need both radio buttons to become active.

Thanks

Avatar

Level 3

Many Thanks Steve. I will try and learn from this...