How to display a message when user open form

Accepted Solutions (1)

Accepted Solutions (1)

jasotastic81

30-03-2015

You can use this script in the docReady event.


if (xfa.host.messageBox("A message goes here to explain the form","Title for the Message Box", 1, 2) != 4) event.target.closeDoc();


Fair warning, I was unable to 'test' this in LC, I had to save the file and open it in Reader to verify it was working.

Answers (0)