Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Get selected value of radio button

greentea87
Level 2
Level 2

Hi,

I had trouble retrieving the selected value of a radio button control.

I've tried the following methods:

- Form.MainPage.rdOption.rawValue gives null

-  xfa.host.resolveNode("Form.MainPage.rdOption").rawValue gives null

However, neither worked.

Thanks!

1 Reply
Jono_Moore
Level 10
Level 10

That should work. What is the rest of the code you are using?

Are there any errors generated in Acrobat? Press CTRL-J when in Acrobat to open the script console and see if any errors are generated.