I have two sets of radio buttons.
Each set has two radio buttons representing Yes and No.
If the first set equal no, then you should not be able to check the second set. I can not seem to get my logic to work.
secondset::click
If firstset = "No"
{
this.rawValue = null;
}
Please help.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
For radio button exclusion groups use:
secondRB.rawValue = "";
Good luck,
Niall
Views
Replies
Total Likes
Hi,
I would put the following in the click event of the first radio button exclusion group:
if (this.rawValue === "No") {
secondRB.access = "readOnly";
}
else {
secondRB.access = "open";
}
You will need to check the reference to the second radio button exclusion group.
Hope that helps,
Niall
That worked great, but what if they select one of the secondRB group? It leaves a check mark there, but you can not un-check it. Is there an attribute called un-checked? I tried:
secondRB.rawValue = null;
But that had no effect.
Views
Replies
Total Likes
Hi,
For radio button exclusion groups use:
secondRB.rawValue = "";
Good luck,
Niall
Views
Replies
Total Likes
Your a lifesaver. I also included the:
secondRB.access = "readOnly";
to the docready to give it a cleaner look.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies