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

jberry

Avatar

Avatar
Level 1
jillybeanz66
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
jillybeanz66
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
jillybeanz66
Level 1

12-03-2018

How would I go about setting up a pop-up message (when a form is opened) that would ask if they would like to print the instructions?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

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

Avatar
Validate 1
Level 4
MinusZero
Level 4

Likes

30 likes

Total Posts

326 posts

Correct Reply

54 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 25
Boost 10
View profile
MinusZero
Level 4

12-03-2018

Hi,

In the Form docReady event (javascript) add:

var printQuestion= app.alert("Do you want to print the instructions? \n\nClick Yes or No.",2,2, "Print Instructions?");

if(printQuestion == "4") //4 equals yes
{
event.target.print(); //opens print dialog
}
if(printQuestion == "3") //3 equals no
{
//dont do anything
}

Answers (0)