Hello All,
My brain is hurting on this one! I have an exclusive radio button group, Yes and No. Trying to get a text box to become visible when the user selects "No."
Here is what I have, under the "No" button, I have the following click event:
if(this.rawValue == "No"){
Main.Subform_1.Comment1.presence = "visible";
}
else{
Main.Subform_1.Comment1.presence = "invisible";
}
Under the "Yes" button, I have the following click event
if(this.rawValue == "Yes"){
Main.Subform_1.Comment1.presence = "invisible";
}
Something is working because the text field loads up invisible, but the problem is that selecting Yes or No does nothing. To cut out the easy stuff, both scripts are under JavaScript, and the form is a dynamic form.
Not sure if its a script issue, or how the radio buttons are put together.
Any advise would be great.