I have a quick question for you. I have two text boxes on a form I created in LiveCycle Designer that I want to be visible on the screen, but not when the form is printed. I have the presence of these text boxes set to "Visible (Screen Only)", but they still print out. How can I keep these text boxes from printing?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Add this script on the pre-print event of the text box that should not be visible on printed form.
this.presence = "invisible" ;
and add this script on the post-print event of the same text box to make it visible after print
this.presence = "visible";
Regards--
Chalukya
Views
Replies
Total Likes
Hi,
Add this script on the pre-print event of the text box that should not be visible on printed form.
this.presence = "invisible" ;
and add this script on the post-print event of the same text box to make it visible after print
this.presence = "visible";
Regards--
Chalukya
Views
Replies
Total Likes
The Visible screen only shoudl work for you assuming that you have chosen the proper target version for the form. That was added in the version 8 timeframe. Under the File/Form Properties/Defaults make sure the target version is et for version 9 and validate that it works. Then back it up a level and try again. until it stops working. I do not remember if it was 8.1 or 8.0 where that feature was introduced.
Paul
Views
Replies
Total Likes
That did it. Thank you very much for your assistance.
Incidentally, my target version is 7. Some of our customers do not have the most recent version of Adobe (and apparently feel annoyed, when we tell them where to download it), so I needed to choose an older version as the target version.
Thank you again for your help.
Views
Replies
Total Likes
In that case you can leave it at version 7 and use the preprint and post print events like the other post suggested. Not as elegant but effective none the less.
Paul
Views
Likes
Replies
Views
Likes
Replies