AEM 6.5 HTML5 form -printing visible pages
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