Page breaks with repeatable elements


When printing forms, some Css 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 Css property display must be set to block, otherwise no page break is created.

When the repeatable form element is named tfEmail, you can add page break with the following Css.

@media print{
 [xn="tf1"] {
   display: block !important;
  }
  .dynamic-row:not(:first-child) {
   display: block !important;
   page-break-before: always !important;
  }
}