Our SurveyJS template contains panels to separate sections. However in the PDF we potentially have a lot of whitespace between these sections as it seems Panels are always rendered on a new page. Is there a way to stop this from happening?
Stop New Page Elements being rendered on a new page in PDF.
Answers approved by surveyjs Support
Hello,
Panels are not rendered on separate pages in SurveyPDF by default. Here is live sample in plunker where you can see that SurveyPDF cuts second panel's content into two pages. Could you share us a live sample with the issue? So we can investigate it. Please, provide a minimal-size SurveyJSON for this
Thanks, Alex
SurveyJS Team
Show previous comments
(7)
SM
5 years ago
I have the same problem. The Survey is separated into different pages while entering the informations into the form. But the pdf export should not have separated pages. Can you please help?
Hello,
You can set questionsOnPageMode
property of SurveyPDF instance equal "singlePage" to prevent render survey pages on different pages of PDF document. Here is live sample in plunker
Thanks, Alex
SurveyJS Team