"Page break" field doesn't appear in fields in form when creating a form. How can I display it to use it?
Question
Question
Replies
I assume you are talking about page breaks when printing to form or archiving to the repository - is that correct?
If so, I believe you can do it with some CSS.
It's been while since I played with this - but I believe you can get page breaks working like this. Add the CSS Class name of pageBreakAfter to any fields that you want to force a page break after, then add this CSS to your form:
.pageBreakAfter { page-break-after:always!important; }
Note that I'm doing this from memory - I haven't done a test on this today, so you might need to test it or tweak it a bit.
EDIT TO ADD: Here's some other pages on LFAnswers that talk about CSS for page breaks:
If you're referring to creating paginated forms:
In the Classic Designer, "Page" elements were added like fields from the bottom left of the designer with Sections, Collections, and Tables.
In the modern Forms Layout Designer, pagination is in enabled the right pane with form settings.
I tried this solution but it doesn't work.
for more details I want field "Contract Duration" and field "Cover page brief" start from new page while archiving it in repository as a pdf.
Which designer are you using? The "Add page breaks to saved forms" checkbox should work for the newer forms layout designer, but the modern designer is very different from the classic designer.
I building the Form from a blank process