Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Running validation before the 'save as' script

$
0
0

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


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>