How do I Show and Hide fields based on Yes or No radio buttons?
Trying to create a form, where if they check "Yes" or unchecking of "Yes" would also erase/hide the "A_Comments" box.
My issue is; if I uncheck "yes" the A_Comments field remains visible. Checking "No" does hide and blanks out any content.

I have the following code on the "Yes":
this.getField("A_Comments").display=display.visible;
and this on the "No":
this.getField("A_Comments").display=display.hidden
"A_Comments" field has the following text Field Properties:
Properties/General/Form Field: Hidden
Any help would be appreciated.
Regards,
