cancel
Showing results for 
Search instead for 
Did you mean: 

Over flow issue while printing footer in last page in PDF forms

Former Member
0 Kudos

Hi,

Could any one let me how to display footer in last page only at end of page reserving 5cm of space.

I have designed my form with two pages:First Page and Next Page in Master Page

Body Page contains table details and some texts after the table lines.

First and Next Pages has footer(5cm) at the bottom.

If Page <> Last Page,footer is not displayed.

If page = Last Page, footer should be displayed at the very end of the page

I have a table with multiple line items. If the line items end in First page the footer should be displayed at the bottom of the page. If the line items flow to the next pages footer should be displayed in the last page only. Next pages should be using the footer space at the end of each page if it is not the last page.

If the positions are wrong can anyone suggest the position of the footer space and how to stop overflow of the line items onto the footer

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You have to place the footers in 2 main windows.

write script to hide the footer if the current page is not last page. Use below script to find the total number of pages and current page in layout:ready event.

Var no_of_pages = $layout.pageCount ( )

Var curpage = $layout.page ( ref ( $ ) )