Hello All ,
I need help in implementing the following condition.
What I have ?
I have a radio button which has following 3 options.
OptionA OptionB OptionC
CheckBox1 CheckBox3
CheckBox2 ChekBox4
Requirement :
If the user selects OptionA then all the CheckBoxes 1-4 becomes mandatory.But the user can only select Checkbox1 or Checkbox2 out of these two but not both.Similarly if the user can select CheckBox3 or CheckBox4 out of these two checkBoxes but not both. If the user selects OptionB or OpctionC out the radiobuttons, then no check boxes is mandatory and the user can select any checkbox.
How to best accomplish this ?
I have no problem when the user selects the OptionA and after that clicks the checkBoxes. But if the user selects other Options then I get unwanted results.Can anybody please help me over here with the script ?
Thanks.
Bibhu.