Page-breaks for InfoPath 2010 web form - InfoPath Dev
in

InfoPath Dev

Page-breaks for InfoPath 2010 web form

Last post 04-01-2015 11:19 AM by allnn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-31-2015 11:15 AM

    • allnn
    • Not Ranked
    • Joined on 07-31-2013
    • Posts 5

    Page-breaks for InfoPath 2010 web form

    I have a very long form developed in InfoPath for SharePoint list and I used page-breaks for proper printing. A week ago all the page-breaks I inserted via InfoPath interface just stopped working (SURPRISE!!). Is there a way to "reanimate" then back or somehow use HTML/CSS tags instead? Thank you!

  • 04-01-2015 11:19 AM In reply to

    • allnn
    • Not Ranked
    • Joined on 07-31-2013
    • Posts 5

    Re: Page-breaks for InfoPath 2010 web form

    Resolved it! See the steps below:



    1) PUT IN CSS FILE AND PLACE INTO SHAREPOINT PAGE WEBPART:
    <style type="text/css">
    hr.breakhere {page-break-before: always;}
    @media print {
    hr {page-break-before: always;}
    }
    body #s4-mainarea {
    float:none;
    }
    //THIS CODE RIGHT ABOVE ENABLES ALL THE PAGE_BREAKS STUFF, YEEE-HAAA! - this anti-float thig RESOLVED EVERYTHING.
    </style>


    2) PUT IN INFOPATH FORM:
    horizontal page lines, instead of page-breaks. They will work on web as page breaks in InfoPath client!


    Thank you and let me know if you have any questions.


Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.