I try this script from assure dynamics (http://www.assuredynamics.com/wp-content/uploads/2011/06/Assure-Dynamics-Validate-form-on-preSave-ev...)
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);
}
But I get this warning
Untdeterminated string constant
Views
Replies
Total Likes
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);
}
Views
Replies
Total Likes