I created this four option Exclusion Group called REASON and used this line of code to select the first option:
xfa.resolveNode("#subform.REASON.#field").rawValue = 1;
And it works just fine. So I took for granted this line sets field 1 as the selected button. Or so I thought.
Then I tried this:
xfa.resolveNode("#subform.REASON.#field").rawValue = 2;
Hoping this would select the SECOND button in the group. Well, it doesn't work, no button is selected.
What am I missing??
Thank you for any hints!
Solved! Go to Solution.