Hi,
We are exporting Survey using Ultimate PDF component. We are facing the issue of page break in between the section.
Our page content is dynamic. We want Question and answer to be displayed on same page.
In below example we can see the question is braked to next page.
We have used AvoidPageBreak block but it hasn't solve the problem.
Best Regards,
Nitin
Hi Nitin.
Try using the AvoidPageBreak block from Ultimate PDF, and place both the question and answer inside of it.
Before:
After:
Hi Nitin. Please install Ultimate PDF Management, and download an execution log of that report, and attach it here.
Thanks @Leonardo Fernandes !
We are taking approval to install Ultimate PDF Management. I will upload execution log.
Can you share your oml for this ?
Hi Toto,
We can't share the actual oml because of restrictions.
Attaching sample oml for your understanding.
Thanks!
Hi @Leonardo Fernandes ,
Do you mean for all the question and answers should be inside AvoidPageBreak block.
So if we have 15 questions, we need to insert 15 AvoidPageBreak blocks in screen?
Regards,
Yes.
An alternative would be to use CSS (break-inside: avoid) on a container that wraps each question and answer. See: https://developer.mozilla.org/en-US/docs/Web/CSS/break-inside
Thank you for quick help!