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

Dynamic behaviour on master pages not working

schmako
Registered: Dec 4 2007
Posts: 4

Up until recently I had been able to hide/show subforms on a master page at runtime, but for some reason, it now no longer works. This is strange given that I am still able to change the layout of the content pages at runtime but not the master pages which the content pages make use of.
 
I have made sure that my form has been saved as an Acrobat 8 (Dynamic) XML form.
 
Do you have any ideas around why this might be happening?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
In general, modifying the master page at runtime is a bad idea. Master pages are supposed to be stable. You are supposed to create as many masters as you need.

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

schmako
Registered: Dec 4 2007
Posts: 4
OK, well in that case I will need to swap my master pages at runtime rather than modifying the master page directly.

I will need to swap out master pages during preprint/postprint events. Do you have any suggestions for changing the content area at runtime (i.e. Javascript functions that can be called)?

Thanks in advance.