Dear Adobe Forms Experts,
I have an Adobe print form with two master pages: one mailing address page that should only occur once, as the first page, and then the main page, which can occur many times. I have been asked to make the mailing page conditional, based on the company code of the invoice. I followed a very useful discussion on SCN explaining how to do this with a HIDEPAGE global variable, wrapping all the fields on the page in a subform, and doing some FormCalc scripting for the subform.
I was able to get the page to print as blank when the HIDEPAGE flag was set, but so far I have been unable to get the mailing page to go away altogether.
I noticed that on the mailing page the "Restrict Page Occurrence" checkbox was checked, and the Min count was set to 1. Well, I thought, that could explain it; I'll just uncheck the "Restrict page Occurrence" checkbox, and all will be right with the world!
Wrong! When I uncheck that checkbox, the Design View for my mailing master page disappears, and the mailing page never prints, regardless of the state of my HIDEPAGE global variable! When I recheck the checkbox, the design view reappears, and the mailing page goes back to printing a blank page when my HIDEPAGE flag is set.
What in the world is going on here?! What am I doing wrong?
Cheers,
TerryB
P.S. I am using Adobe LiveCycle Designer 9.0, and I believe the form was originally created using 9.0