Repeat some fields on overflow pages by setting field.repeat in template

Goal

When a page data overflow to the next page and there is no continuation page defined, then some fields (i.e. page number, foot, header, etc.) should be repeated on the overflow pages.

Example

field repeat example

            <fields>
                <field name="Footer_1-2">
                    <title>Dit is footer tekst</title>
                    <type>html</type>
                    <repeat>true</repeat>
                    <output>..</output>
                    <input>..</input>
                </field>
                <field name="Footer_2-2">
                    <title>pag</title>
                    <type>html</type>
                    <repeat>true</repeat>
                     <output>..</output>
                     <input>..</input>
                </field>
            </fields>

Implementation

<field><repeat>true</repeat> => field will be repeated on the overflow page (if no continuation page is defined),
fields with no repeat == false will not be repeated!