Hello!
How do I manipulate an Exclusion Group selection using JavaScript?
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!
Marcos
Solved! Go to Solution.
Views
Replies
Total Likes
Use this syntax:
Views
Replies
Total Likes
Use this syntax:
Views
Replies
Total Likes
Great! It works!
Thank you Radsmar!
BR,
Marcos
Views
Replies
Total Likes