Wiki source code of Seitenumbrüche bei wiederholbaren Elementen
Hide last authors
author | version | line-number | content |
---|---|---|---|
2.1 | 1 | When printing forms, some {{smallcaps}}Css{{/smallcaps}} is applied which, among other things, adds a page break after each form page. Sometimes it is a good idea to insert a page break after each element repetition, when the repeated element is very large. Please note that {{smallcaps}}Css{{/smallcaps}} property //display// must be set to //block//, otherwise no page break is created. | |
1.1 | 2 | ||
2.1 | 3 | When the repeatable form element is named //tfEmail//, you can add page break with the following {{smallcaps}}Css{{/smallcaps}}. | |
1.1 | 4 | ||
5 | {{code language="css"}} | ||
6 | @media print{ | ||
2.1 | 7 | [xn="tf1"] { | |
1.5 | 8 | display: block !important; | |
9 | } | ||
10 | .dynamic-row:not(:first-child) { | ||
11 | display: block !important; | ||
12 | page-break-before: always !important; | ||
13 | } | ||
1.1 | 14 | } | |
15 | {{/code}} |