the below code goes on my submit button, requiring user to select a radio button option if myTExtField is filled in. It works fine in requiring user to select a radio button before submitting but no red highlight box appears around radio buttons.
How do I get that red highlight box to show up around the radio buttons?
if (myTextField.rawValue != null) {
myRadioButtons.mandatory = "error"
}
thanks for any help with this.
an alternative isn't quite as good, but it seems to do the job. I added the line:
myRadioButtons.border.fill.color.value = "255,0,0";
along with my exiting line: myRadiioButtons.mandatory="error"
it doesnt make a box, but it fills each radio button with red, so it looks sort of highlighted