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

Problems With a Header

nala5755
Registered: Jan 20 2011
Posts: 5

I have
form1::prePrint - (JavaScript, client)
form1.#pageSet.Page7.T7.presence = "hidden";
  
I've also tried form1.pageSet.Page7.T7.presence = "hidden";
  
and form1.Page7.T7.presence = "hidden"; I want it to hide in the prePrint and reappear in the postprint. I've tried a checkbox with the following to see if there is a spelling problem, but it hides with a checkbox? But I really have no use for a checkbox.
  
if (this.rawValue == "1") {
for (j=0; j< xfa.layout.pageCount();j++){
xfa.resolveNode("form1.pageSet.Page7[" + j + "]").T7.presence = "hidden"
}
  
Someone help please. Ohh and T7 is just a calculated textfield with "event.target.path;"

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

wrap the text with a subform and use this script in the prePrint:event of the subform.
this.presence = "invisible";
and this in the postPrint:Event
this.presence = "visible";

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs