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

Help with Script

patra
Registered: Oct 19 2006
Posts: 270

I have a button that it is invisible and I will like to make it visible only in case a text Field has some value.

How I can accoplish this one with a script.

Thanks

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
A JavaScript in the exit event of you text field could look like this:

if (this.rawValue != null){Button1.presence = "visible";}else{Button2.presence = "invisible";}

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs