I'm trying to change specific items on a RADIOGROUP to be hidden or shown dynamically. I already have the data I need to determine whether they should be shown, but I don't know how to actually show it.
For example if I start with this:
RADIOGROUP rad_type = formonly.rad_type, ITEMS=((1,"1stChoice"),(2,"2ndChoice"), (3,"3rdChoice")), ORIENTATION=HORIZONTAL;
How can I hide 2ndChoice (for example)? I have fooled around with ui.Dialog.setActionHidden and ui.Form.setElementHidden but haven't been able to make the magic happen. Any advice is greatly appreciated. I'm using Genero Mobile 1.1 if that makes a difference.