Version: 5
CAUTION
️Version 5 of Gravity PDF does not have full support for Gravity Forms 2.5 and you should consider upgrading to version 6. If you cannot, version 5 will still function but have a degraded admin experience. Support and bug/security fixes will be provided until 27 April 2023.Add Page Breaks to Core and Universal PDF Templates
You can force a page breaks before certain fields in Core and Universal PDF templates using a special CSS class in the Gravity Forms Editor.
Add Pagebreak before Field
To create a pagebreak in the PDF, you need to add the CSS class pagebreak
to a field in the Gravity Forms Editor. You can do this by:
- Navigating to your form's editor
- Select the field you want forced onto a new page in the PDF
- Open the
Appearance
tab and addpagebreak
to theCustom CSS Class
field. If a class is already included ensure you add a space between it andpagebreak
- Save your form
This technique works for all fields that support Custom CSS Classes, except Product fields when grouped in the product table (use the Core Booster extension to ungroup products).