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.
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.
if ( xfa.layout.page(this) == xfa.layout.pageCount() ) //If last page
//Do your logic
var currpage = host.currentPage;
var totalpage = host.numPages
if ( currpage == totalpage ) then //If last page
|//Do your logic|