These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Hiding a Text Field

30011754
Registered: Jan 6 2010
Posts: 13

I have a text field that I would like to make visible only when a list item from a dropdown field is selected. Any help would be appreciated. I'm using LiveCycle Designer ES.
 
Thanks.

pforms
Registered: Nov 17 2009
Posts: 87
if (xfa.event.newText=="YourDropDownSelection")
form1.subform1.nameofyourtextfield.presence="visible";
else form1.subform1.nameofyourtextfield.presence="hidden";