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

Hiding a button only on one masterpage

watson23
Registered: Mar 25 2008
Posts: 37

Hi,
I've got a document consisting of 3 masterpages. The 1st & 3rd masterpage appear only once. My problem concerns the 2nd masterpage - I placed a button on the 2nd MP and I'd like it to appear on each of the instances of the 2MP but the last one. Is it possible & if so - how?
Thanks in advance for any help.
Regards
T.M.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, but you have to be able to detect when the page is the last one. You'll find functions in the xfa.layout model for this. i.e. write code to determine when the master page is on the last page.

I don't know which event would work best for this. But you should try the "Initialize" event first.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script