I have created a form in PDF Converter Professional and there are several Text Fields that I need to be required before saving the form. What is the best way to go about this? Will I need to create a Save Button or can this be done by simply using the save option on the toolbar?
If a form is savable, then there is nothing that can be done (baring special Policy Server Enabling) to stop the user from saving it. You can however add a "WillSave" script to the form that will test the required fields and give the user a friendly popup message letting them know that they are not finished. You can also place a visible indicator on the form, such as a watermark that makes it obvious that the form is not complete. I'm not sure (because Adobe keeps changing it) but I don't think you can add a WillSave script with Acrobat Standard.
There's an example file and a video of doing this for the "WillPrint" event at [url=http://www.pdfscripting.com/public/programs/downloadsearch.cfm?StartRow=16&searchtype=simple&searchmode=cat&keywords=All%20Files%20in%20Form%20Scripting%20Category&cat=Form%20Scripting&sortby=name]www.pdfscripting.com[/url]. This is a subscription site so it's not free:( I'm currently working on form level validation examples for the "WillSave" event, which is exactly what you're asking about.Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script