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:
How is this possible?
Solved! Go to Solution.
Thanks .... the only thing I wanted to implement is to focus on the first field which has errors, which is supported by the form validation. However, I had to manually hard code the call to the function to set focus after the dialogue.
If you'd like to customize your validation in a better way than to use Adobe validation, you can try this functionality for validating forms.
It can be used in any form and easy customization, I hope this can come in any help for you.
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.
To avoid prompting the file name, you have the following options:
1. Use trust function (client-based solution). This requires configuration on the user end. It is acceptable solution if the number of users is small.
2. Use submit to server to save. You can submit to server using Java/Eclipse/Tomcat or ASP.NET/VS/IIS and you have to develop a server side program to retreive the input stream, extract the XML, and parse it to get the data and PDF in binary format. I have done both solution using Java and ASP.NET. This is the best solution, and it requires good knowledge about server based technologies. Click here to find related samples.
2. Use Workbench to develop a process to process submission. I some knowledge about this and developed a few processes to perform this function.