Add page break on form when printing

  • h2insurancesolutions
    Asked on September 4, 2015 at 2:47 AM

    Hi

     

    I've tried your suggestion but it hasn't worked

  • Charlie
    Replied on September 4, 2015 at 2:52 AM

    Hi,

    Could you share us the form that you wanted to add a page break? That would help us give you a working CSS code.

    We'll wait for your response.

  • h2insurancesolutions
    Replied on September 6, 2015 at 11:06 PM

    Hello

     

    Thank you for your response.

    Here is the embeded link, is this what you need?

    <script type="text/javascript" src="//form.jotform.co/jsform/52458933015860"></script>

    Once again, many thanks for your help.

     

    Regards

     

    David

  • Charlie
    Replied on September 7, 2015 at 2:42 AM

    Hi David,

    Here's a cloned form that I made with the edits: http://form.jotformpro.com/form/52490956612965?. Try pressing CTRL+P to view the print preview.

    Here's the code that I used:

    @media print{

        .pageBreak {

            page-break-after : always !important;

        }

    }

    Here's the source code of the "Text" field. Now create a duplicate of that text field and add or position it in the sections where you want to add a page break. In my case, I added it just above the "Insured", "Duty of Disclosure", "Cancellation & Abandonment Insurance", "Property Insurance" and "Declaration".

    Add page break on form when printing Image 1 Screenshot 20

     

    You can try cloning my form to see how I set it up.

    We'll wait for your response.

  • h2insurancesolutions
    Replied on September 7, 2015 at 2:43 AM

    Hi Charlie

     

    I will try that now, thank you.

     

    David

  • h2insurancesolutions
    Replied on September 7, 2015 at 2:57 AM

    Hi Charlie

     

    Thank you very much for your help, the form page breaks work now.  I appreciate your help very much, thanks again.

    Regards

     

    David

  • Charlie
    Replied on September 7, 2015 at 4:01 AM

    You are very much welcome, David.

    If you needed any assistance again, please do not hesitate to open a new thread here in the forum.

    Thank you.