Add page break on form when printing

  • Profile Image
    h2insurancesolutions
    Asked on September 04, 2015 at 02:47 AM

    Hi

     

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

  • Profile Image
    Charlie
    Answered on September 04, 2015 at 02: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.

  • Profile Image
    h2insurancesolutions
    Answered on September 06, 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

  • Profile Image
    Charlie
    Answered on September 07, 2015 at 02: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".

     

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

    We'll wait for your response.

  • Profile Image
    h2insurancesolutions
    Answered on September 07, 2015 at 02:43 AM

    Hi Charlie

     

    I will try that now, thank you.

     

    David

  • Profile Image
    h2insurancesolutions
    Answered on September 07, 2015 at 02: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

  • Profile Image
    Charlie
    Answered on September 07, 2015 at 04: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.