These forums are now Read Only. Now there are two ways to ask questions... both staffed by experts.

Use your Adobe ID to access either of the following:

If you have a quick question,
please visit our Questions & Answers section.

For more in-depts questions and discussions,
please visit us on the Adobe Forums.

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