on 11-01-2015 5:45 PM
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.
Hello
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.page(this) == xfa.layout.pageCount() ) //If last page
//Do your logic
endif ;
Formcal
var currpage = host.currentPage;
var totalpage = host.numPages
if ( currpage == totalpage ) then //If last page
//Do your logic |
endif
Regards,
NP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
If you want to display terms and conditions on last page without header data ,I suggest you to create another master page without Header such as (logo,Title,Footer)..
In first master page design the header and in the design view of first master page display the table.
In second master page design view create the Terms & Condition data.
Regards,
Suneel.Uggina.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suneel
I had tried this but when I make the 2nd master page and my first design view flows to the second page then from second page onwards i was not able to see my master page details. Whereas my requirement is to hide the details only on last page.
If you think i have missed something can you please tell me how should i set the pagination of each page.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.