Skip navigation
Currently Being Moderated

Check box to limit printing

Dec 19, 2011 6:02 AM

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 those instructions that have been checked off.

 

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";

}

 
Replies
  • Currently Being Moderated
    Dec 19, 2011 6:44 AM   in reply to paulk07

    Hi paulk07,

     

    One way to get around your requirement would be to use the prePrint and postPrint events.

     

    This way you can hide your checkbox before printing and show it back after printing :

     

    prePrint event

    (if cb.rawValue == 1)

         cb.presence = "hidden";

     

    postPrint event

    (if cb.rawValue == 1)

         cb.presence = "visible";

     

    Hope this helps,

     

    Regards,

     

    Thomas

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points