Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Print all but Page 1

Avatar

Former Community Member

I'm working with a form with floating fields and I want our agents to be able to type into the fields on the first page and have the second page print out like a form letter, but I don't want the page with the text fields to print (Page1). How can I disable the printing of that page?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Set the Pagination settings for page1 to Follow Previous. Set page2 the same. Then in the prePrint event of page1 to:

this.presence = "hidden";

The postPrint to:

this.presence = "visible";

The form will need to be saved as a Dynamic XML Form.

Niall

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

Hi,

Set the Pagination settings for page1 to Follow Previous. Set page2 the same. Then in the prePrint event of page1 to:

this.presence = "hidden";

The postPrint to:

this.presence = "visible";

The form will need to be saved as a Dynamic XML Form.

Niall

Avatar

Former Community Member

I have created another form in this same format. I have set everything the same (I think). This form still prints out Page1. It's blank, but I don't want it to print at all.

Find 458SP-1 here:  https://acrobat.com/#d=43J1nel3rw0tKKfmbfalcA

and let me know what I did or didn't do this time to cause page one to still print.

Thanks.

Avatar

Level 10

Hi,

Here is the form back to you: https://acrobat.com/#d=GVjyFVjTh6UktLtnfZQv-Q.

In page1 I set the continue to Top of next content area, and then on page2 made sure that all of the subforms are Follow previous.

Seems to work now!

Niall

Avatar

Former Community Member

Thank you again. That was driving me crazy (or crazier as the case may be). You are the best, Niall.