Removing page breaks for printing form

  • Profile Image
    goldenbond
    Asked on October 1, 2025 at 7:41 PM

    I am building a multi-page form. I want to remove the form page breaks when printing using a browser to reduce the number of pages.

    Link to test form

    I tried the following custom CSS code but the page break was not removed when printing the form.

    @media print {
    #input3 {
    page-break-after: avoid;
    }
    }

  • Profile Image
    Aries JotForm Support
    Replied on October 1, 2025 at 8:59 PM

    Hi goldenbond,

    Thanks for reaching out to Jotform Support. You can inject custom CSS codes to target all elements in the form to remove page breaks completely:

    1. First, copy this code:

    @media print {
        * {
            page-break-before: auto !important;
            page-break-after: auto !important;
        }
    }

    2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.

    3. Now, in the Form Designer menu, click on the Styles tab, scroll down, and p

    Removing page breaks for printing form Image 1 Screenshot 30

    Here's the result after injecting the custom CSS codes:

    Removing page breaks for printing form Image 2 Screenshot 41

    Give it a try and let us know how it goes.

  • Profile Image
    goldenbond
    Replied on October 2, 2025 at 1:24 PM

    Thanks for your help. The custom CSS code and reduced font size worked on another form to reduce the printout from 18 to 12 pages.

Your Reply