Dear all,
We have a form with 6 pages. As far as I know, the default Print button on each page just lets you print the current page.
Is it possible to create a Print button on e.g. the last page which let you print the whole form with all pages in one go?
Thanks for your time,
Thomas
I think that in Dleap the whole form (=all pages) is actually sent to the browser and the unnecessary pages are hidden by css.
I have this old print.css from FEB 8.6, you can try it - perhaps you need to update the classes to match DLeap:
@media print{
.dijitStackContainerChildWrapper{
display: block !important;
}
.dijitHidden{
display: block !important;
}
table > .grid-layout-body > .grid-layout-row{
display:table-row !important;
}
.lfMn .lfFormFieldHidden {
visibility: unset !important;
}
}
Please share your results once it works :-)
Thanks Jan.
I will try this and post the result here.
Looking at the class names, the last one looks definately like a Leap class. I haven't seen the others.
Sorry for not replying sooner.
The above CSS is working fine and solved the problem. I addition to that I added some page breaks and now it looks quite good.
We ran into another printing issue (Ctrl + P or window.print();) as we updated to Leap 1.1.3. As soon as we did this, it was only possible to print one page - not the form page but the 'browser page'. This seemed to be a general issue and we got a fix from HCL.
All is fine now.