Expand my Community achievements bar.

SOLVED

Adobe livecycle script to print a Subform pages only

Avatar

Level 4

Plz guide me

I have a dynamic form (contains 3 subforms) and add a print button to print a subform only not other 2 subform.

Plz help me to script Print button.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

In the two subforms that you don't want printed, add the JavaScript code to the prePrint event;

this.presence = "hidden"

Then in the postPrint event for the same two subforms add the code;

this.presence = "visible"

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

In the two subforms that you don't want printed, add the JavaScript code to the prePrint event;

this.presence = "hidden"

Then in the postPrint event for the same two subforms add the code;

this.presence = "visible"

Avatar

Level 4

Thank you so much

plz suggest one more thing

I add 3 print button for  subforms

plz advise java script to print a subform by a print button only