Expand my Community achievements bar.

Dropdown populates radio button group


Level 4

I have some radio button that I would like the correct one to be checked when a selection in the dropdown is selected.


     If you select Red from the dropdown menu then the first radiobutton would be selected from the radiobutton group.

Thank you.

1 Reply


Level 10

Hi there,

The syntax to set a selection on a radio button would look like this:

radioButtonList.optRed.setItemState(0, true);

so varying on the dropdown list choice

Hope this helps.

page footer