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

SOLVED

jberry

jillybeanz66
Level 1
Level 1

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?

1 Accepted Solution
MinusZero
Correct answer by
Level 7
Level 7

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
}

View solution in original post

1 Reply
MinusZero
Correct answer by
Level 7
Level 7

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
}

View solution in original post