Skip to main content
Version: v6

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

Add 'pagebreak' class to Gravity Forms 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:

  1. Navigating to your form's Form Editor
  2. Select the field you want excluded from the PDF
  3. Open the Appearance section in the sidebar and add pagebreak to the Custom CSS Class field. If a class is already included ensure you add a space between it and pagebreak
  4. 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).