These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

different page layout

bobsforms
Registered: Oct 9 2007
Posts: 6
Answered

I have a 1 page form with 1 expandable field. There is a signature field on the bottom of the master page. What I need is for the signature field to only show up on the bottom of the LAST page, not on every page. Example, if the form is a one page document, the signature field will show up on the bottom, If the form becomes a 9 page document, the signature field only shows up on page 9. Is there a way to do this.

Thanks in advance for some help.

oksana77
Registered: Apr 24 2009
Posts: 89
On layout ready of the signature field, you could add a script that will check if it is the last page:

if(xfa.layout.sheet(this) == xfa.layout.sheetCount()-1)
this.presence = "visible";
else
this.presence = "hidden";
bobsforms
Registered: Oct 9 2007
Posts: 6
Thanks. I just changed it to the pageCount and it worked great.