Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Use submit button to trigger validation and prompt to save instead of submit action

$
0
0

I want to add a Submit Button that will trigger all validation using the built-in feature. This will also work well with the "forms validation" setting done on the form properties. See snapshot below.

 

However, if the validation is successful, I want to prompt for the save dialogue box instead actually submitting the form using this line of code:

 

app.execMenuItem("SaveAs");

 

How is this possible?

 

 

Tarek


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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