Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

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.