Expand my Community achievements bar.

button visible but not Print with script

Avatar

Level 7

How with a script I can make a button visible but not Print?

Thank you

2 Replies

Avatar

Level 3

there must be a better way to do this, but a crude option is :

following script into the prePrint event in the Script Editor.

this.presence = “visible”;


following script into the postPrint event in the Script Editor.

this.presence = “invisible”;

Avatar

Level 10

Hi there,

to be able to hide objects when printing without having to put presence in each object's events prePrint and postPrint,

you can use the property relevant

this.relevant = "-print";

Refer to this link for more information:

LiveCycle ES2 * Adobe LiveCycle Designer ES2