So set up your mandatory fields like you normally would. Make sure that
you have a nessage displayed (as I mentioned above) and then add this
code to the print button click event.var txt = form1.execValidate();if
(txt == true){ xfa.host.print(1, "0", (xfa.host.numPages -1).toString(),
0, 1, 0, 0, 0); }