Wiki source code of Seitenumbrüche bei wiederholbaren Elementen
Show last authors
| author | version | line-number | content | 
|---|---|---|---|
| 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. | ||
| 2 | |||
| 3 | When the repeatable form element is named //tfEmail//, you can add page break with the following {{smallcaps}}Css{{/smallcaps}}. | ||
| 4 | |||
| 5 | {{code language="css"}} | ||
| 6 | @media print{ | ||
| 7 | [xn="tf1"] { | ||
| 8 | display: block !important; | ||
| 9 | } | ||
| 10 | .dynamic-row:not(:first-child) { | ||
| 11 | display: block !important; | ||
| 12 | page-break-before: always !important; | ||
| 13 | } | ||
| 14 | } | ||
| 15 | {{/code}} |