I have a RadioButtonList with Yes and No as the values. If a user selects yes I want a textbox to appear. I have tried two different click events on the Yes button and haven't had any luck. I have never done any developing before so I am a complete newbie.
first event:
var myDoc = event.target;
var D = myDoc.getField("form1[0].#subform[0].NewFields[0].Description[0]");
D.presence = "visible";
second event:
if(this.rawValue == "Yes"){
form1[0].#subform[0].NewFields[0].Description[0].presence = "visible";}
Can anyone provide me with some assistance. Thanks!