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

Avatar

Avatar

tarekahf

Avatar

tarekahf

tarekahf

05-05-2016

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?

928663_pastedImage_0.png

Tarek

View Entire Topic

Avatar

Avatar

sivamaddy

Avatar

sivamaddy

sivamaddy

23-06-2016

Guys,

It gives the popup. We have to manually mention the filename and select the path where we need to save.

Instead of this, will it automatically save the file into the folder. Where can i mention the filename and path in the code.