Expand my Community achievements bar.

Get selected value of radio button

Avatar

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

Avatar

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.