Hi guys
I have a form containing three checkboxes, and I would like to print only those that are checked by the user.
For the checkboxes that are not checked, I would like them removed from the final printout (but still visible to the user),
and I would like the other checkboxes to move over, so there is no space between them.
Any help would be appreciated.
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Try wrapping your check boxes inside a flowed subform and write a prePrint script to hide the unchecked boxes and a postPrint script to show them again. Your form will need to be saved as an Adobe Dynamic XML Form.
Cheers
Hélène
Views
Replies
Total Likes
Hi,
Try wrapping your check boxes inside a flowed subform and write a prePrint script to hide the unchecked boxes and a postPrint script to show them again. Your form will need to be saved as an Adobe Dynamic XML Form.
Cheers
Hélène
Views
Replies
Total Likes
Thank you.
One concern I have is that the user may hit print, and then cancel the print, such that the postPrint event will not be called.
Need I be concerned about this?
Thanks
Views
Replies
Total Likes
You may be able to check the xfa.event.cancelAction to see if they cancelled the operation. Just look up cancelAction in the help and it will describe the values to look for.
Paul
Views
Replies
Total Likes
I ran a quick test in Acrobat 8.1.5 and 9.1.3 and the postPrint event fires even when the user cancels the print.
Hélène
Views
Replies
Total Likes