//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?
//1-script: making last page invisible on pre-print
if(form1.Masters.page3.Print.rawValue == 1)
form1.page3.presence = "visible";
//2-script: changing fields color to black on pre-print
Scripts.changeFont(this, "black");
else
form1.page3.presence = "hidden";