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.
if (xfa.event.newText=="YourDropDownSelection") form1.subform1.nameofyourtextfield.presence="visible"; else form1.subform1.nameofyourtextfield.presence="hidden";
form1.subform1.nameofyourtextfield.presence="visible";
else form1.subform1.nameofyourtextfield.presence="hidden";