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

Optionally print a page

Avatar

Avatar
Validate 50
Level 3
mdawn50
Level 3

Likes

8 likes

Total Posts

346 posts

Correct Reply

6 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Boost 5
View profile

Avatar
Validate 50
Level 3
mdawn50
Level 3

Likes

8 likes

Total Posts

346 posts

Correct Reply

6 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Boost 5
View profile
mdawn50
Level 3

09-08-2011

Hello- In a form I'm working on, the owner of the form wants page 1 instruction page to not print, but they want the user to have the option to print page 1. I've used presence = "hidden" in the prePrint and presence = "visible" in the postPrint event of the page and that works successfully. I'm not sure how to give the user the option to print.

Thanks,

MDawn

View Entire Topic

Avatar

Avatar
Give Back 3
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

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

Avatar
Give Back 3
Level 2
past-tense
Level 2

Likes

9 likes

Total Posts

85 posts

Correct Reply

10 solutions
Top badges earned
Give Back 3
Give Back
Validate 1
Boost 5
Boost 3
View profile
past-tense
Level 2

09-08-2011

Put a check box on the instruction sheet, then in the change event of the check box, set:

Reference_Syntax.relevant = "+print";

or

Reference_Syntax.relevant = "-print"; 

depending on whether the box is checked (you can set the .relevant of an entire page). Using .relevant is better than .presence, as it prevents (or allows... -print/+print) the page from printing, but doesn't hide the page on screen, so there is no flicker while it's printing.

If you need the actual code, just let me know, but this should be enough to get you going.

- Scott