Hi
I'm looking for a steer on how to run form validation before implementing the 'Save as' script - is this even possible??
Basically I want the save as script to run in the click event of my newly formed save button only if the validation script returns a positive value i.e. all mandatory fields are completed, I've used the script below:
if
(form1.execValidate()== "false")
{
app.execMenuItem("SaveAs");
}
Any chance someone could point me in the right direction or am I barking up the wrong tree?
Thanks
Views
Replies
Total Likes
got it to work: my script was wrong, it now looks like this:
if
(form1.execValidate()== true)
{
app.execMenuItem("SaveAs");
}
Views
Replies
Total Likes