Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hide master page info from appearing on last page.

I have a form with a Master page which has a title,logo and footer.

I have a body page whose contents are dynamic and can go to next page if items lines are more in the supplied table.

I want to have the last page asTerms and conditions page such that the master page information (title,logo,footer) doesn't appear on this page.

Any help will be highly appreciated.

Former Member
Former Member replied


You can write script in layout:ready . After the layout has been applied, i.e. after page breaks have been inserted. You can use this event to access objects placed on master pages.

Java script

     if ( == xfa.layout.pageCount() )    //If last page

          //Do your logic

     endif ;


     var currpage = host.currentPage;

     var totalpage = host.numPages

     if ( currpage  == totalpage  ) then                                //If last page

      //Do your logic




0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question