Avatar

Level 10

The error occurs, when you add line breaks ti the script.

Write your message into one line to fix the problem.

if (form1.execValidate() == false) {

          xfa.host.messageBox("You have not completed the mandatory fields. Please return to the form and complete all fields marked with a *. \n\nThank you!", "Form is incomplete", 0, 0);

}