user538154
12-21-2004, 12:19 AM
var stopflag=false;
var myfield=getField("FormName");
if (myfield.value==myfield.defaultValue) stopflag=true;
if (stopflag==true) app.alert("You forgot something!")
else print();
I am trying to use this script to validate forms in a PDF document and it works fine for just one form but I need multiple forms.I know I need to change line 2 to new Array or something like that but everything I have tried has been unsuccessfull.
var myfield=getField("FormName");
if (myfield.value==myfield.defaultValue) stopflag=true;
if (stopflag==true) app.alert("You forgot something!")
else print();
I am trying to use this script to validate forms in a PDF document and it works fine for just one form but I need multiple forms.I know I need to change line 2 to new Array or something like that but everything I have tried has been unsuccessfull.