Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Hiding SubForm in Master Page

Avatar

Avatar
Validate 1
Level 4
Ryan_Lunka
Level 4

Likes

11 likes

Total Posts

143 posts

Correct Reply

11 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
Ryan_Lunka
Level 4

Likes

11 likes

Total Posts

143 posts

Correct Reply

11 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
Ryan_Lunka
Level 4

04-08-2008

To make the background color of my form a grey/dark grey gradient, I simply placed a subForm in the MasterPage that is the full size of the page and set its fill color. I have a requirement that the background be white ONLY when printed. I am trying to place the folowing in my prePrint event (for the highest level of the hierarchy), but it will not work.



xfa.resolveNode("DocumentName.#pageSet.Page1.Background").presence = "invisible";



Page1 is the Masterpage

Background is the name of the subForm



The code will not run when placed in the DocumentName prePrint event, but if I place a dummy button on the form and put it there, it does work. Any reason this may be happening?