It would help if you provided more details about what you're trying to accomplish.
got this out the Developers Book for Radio Buttons
I have a few questions...
1, is "myRadio" the name of the radio button group?
2. the code note states it is getting the second widget how is that identified by (f.name+".1") does ".1" identify the second radio button within the group (myRadio)? and ".2" would be the third if it exist and so forth...
var f = this.getField("myRadio");
// Get the second widget, change its appearance and add an action
var g = this.getField(f.name+".1");
g.strokeColor = color.red;
"app.alert('Export value is ' + this.getField('myRadio').value)");
Yes, myRadio is the name of the group. To get the correct number, which is determined by the order in which the individual radio buttons were created (which may be different than their ordered position on the page), you may have to use a bit of trial and error. The first one is number 0 and you'd increment by one to reference the next one.
Okay used the debugger and found out that the ".1" is how to identify the individual radio button within the radio button group the g.strokerColor = color.red; works like I want if but the radio button now stays red even using clear form...
I need to work on that next...