Radio buttons?

I saw in one post there is some support for Radio Buttons now? It’s on Trello too but no details are listed.

Is there any documentation on them I can’t seem to find how to use document.selector to find the checked radio button out of a group. Any examples that exist would be helpful!

I assume they’d be listed in the Elements page but there’s nothing there. https://adobexdplatform.com/plugin-docs/reference/ui/elements/

Thanks

2 Likes

I ended up guessing a bunch of things and this worked:

document.querySelector('#radioButtonId').checked

Still, I had to check each button as there’s no support for a named group I guess.

radioButton.name = "yourGroup";
might be what you’re searching for.

Thank you

document.querySelector("input[checked]").value;

Gives me what I need directly.

1 Like