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

Two scripts don't work together on pre-print

oksana77
Registered: Apr 24 2009
Posts: 89

//1-script: making last page invisible on pre-print
if(form1.Masters.page3.Print.rawValue == 1)
form1.page3.presence = "visible";
else
form1.page3.presence = "hidden";

//2-script: changing fields color to black on pre-print
Scripts.changeFont(this, "black");

This form uses multiple master pages and allows form to grow via add page button. Any idea why the two scripts don't work together?

My Product Information:
LiveCycle Designer, Windows
suewhitehead
Registered: Jun 3 2008
Posts: 232
I think that you would have to do the change of font color while it is not hidden, then hide the field. If you do it the other way around, I believe that the script will not work when the field is hidden. I am not sure about this but thought it might be something you can check out.
oksana77
Registered: Apr 24 2009
Posts: 89
I tried that and it doesn't work.