I have an app with a main screen, and a couple pop-up screens that do a storyboard transition when I click a button.
I would like to be able to set values for text fields on the main screen, by clicking on radio buttons on the pop-up screens. I am trying to figure out how to get the id of the radio button, so I can set the values in the main screen.
I used:
local function onRetKeyPress( event )
local rb = event.target
print( rb )
end
to see if I could determine which radio button was selected, but nothing is ever printed in the terminal screen.
If someone could give me some pointers in this situation, I’d appreciate it.