Copy link to clipboard
Copied
I have a{% repeating-section objectname %} element inside a .docx word template which I need to ensure starts on a new page instead of breaking mid-section. Here is a sample of how it looks in the Word template:
{% repeating-section quotes %}
{{Name}}
{{QuoteID}}
{{morefields_etc_etc}}
Information about each quote goes here in a table, but I might have 10 quotes which are being iterated. Quote #3 gets broken across two pages in the PDF result.
I want to include a CSS tag in the word template which performs the function of:
page-break-inside: avoid;
{% end-section %}
I have tried{% repeating-section quotes page-break-inside: avoid; %}
but it didnt work and the entire loop was ignored.
How can I get a conditional page break?
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now