AEM 6.5 HTML5 form -printing visible pages | Community
Skip to main content
Level 5
December 12, 2023

AEM 6.5 HTML5 form -printing visible pages

  • December 12, 2023
  • 1 reply
  • 2427 views

Hi,

I have a XDP form that has 3 pages. When this form is rendered as HTML5, it is set to have only the main first page visible and the remaining 2 pages as hidden (exclude from layout). When a check box is clicked in the main page then the remaining 2 pages become visible and allow the user to enter the data. This works until the data is filled in. 

But when trying to print/save as static PDF, only the main/first page is printed, but not the reset of the pages. I tried the following JavaScript code but the +print is not having any effect.

this.resolveNode("form1.page2").presence = "visible";
this.resolveNode("form1.page2").relevant = "+print";

Any suggestion on how to fix this?

Thanks,

Leena

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Vijay_Katoch
Community Advisor
Community Advisor
December 13, 2023

Can you please share your form to look into?

Level 5
December 13, 2023

Hi Vijay,

Is there an email address to which I can send it to?

Thanks,

Leena

Vijay_Katoch
Community Advisor
Community Advisor
December 13, 2023

Vkatoch07@gmail.com