We are rendering a PDF, we have a section called "Signatories" (A section within a page), We want add a page break so it becomes its own page in the rendered PDF.
I have tried to define a style which contains "page-break-before:always" and applied to the Signatories section, but when I rendered the PDF, it does not force a new page in the PDF?
Can anyone help?
To force a page break, it only seems to work with new pages, no other styling will work.
So what I did with Signatory is to create a new Page called Signatory, and select "Hide Navigator" to stop it from showing in the online form, so when PDF gets rendered, it will create a new page in PDF.
I have found a work around for one of the quirky behavior of PhantomJS.
In the case where the Section heading and the content of a section got split into two different pages, wrap the whole section in a Block will fix the issue.