Answered
Hello,
can someone post a quick example of how to use the validate handler in execDialog method? There is no example given in the api examples.
I have two simple text inputs, which i want to validate before continuing the script.
MfG, Michael
validate: function (dialog) {
var results = dialog.store();
if (results["fnam"]=="" || results["lnam"]=="") {
app.alert("You must enter both names.");
return false;
}
return true;
},
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com