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

Check box to enable or disable printing

pforms
Registered: Nov 17 2009
Posts: 87
Answered

I have a form with a series instructions (static text). Each instruction has a check box that is checked off if the instruction applies. What I am seeking to do is print the form but display only the instructions that have been checked.
 
Playing with this but can't get it to work:
 
if (rawValue == true) {
CheckboxName.presence = "visible";
CheckboxName.relevant = "";
}
else {
CheckboxName.presence = "visible";
CheckboxName.relevant = "-print";
}

My Product Information:
LiveCycle Designer, Windows
mmazal
Registered: Jul 20 2009
Posts: 27
Accepted Answer
the .relevant stuff always annoys me

when it comes to printing I find it easier to use prePrint and postPrint scripts

under prePrint set your conditions and make items invisible

under postPrint make all items visible
pforms
Registered: Nov 17 2009
Posts: 87
Nice - I didn't even think of that