Hi all, i was hoping someone could tell me if this is possible!
Is it possible to create a button or somehow modify a distributed file in an Acrobat.com workflow so that when you click the button or the submit button (top-right in the dock) it submits the form to a response file either 1, 2, 3 or 4 times? Depending on the value of a field with in the document. For example, if that field contained the number 2, it would submit it 2 times to the response file?
Any help would be greatly appreciated.
Thank you
That said, there are some variations you can force on the process. For example, you could add a second submit button to the form that submits the form multiple times using a script in the manner you've described, but I'm not sure this would have the desired effect, and the user could still press the submit button in toolbar, so its not a good solution. You can also manually add the submitted form to the response file multiple times. This is a better solution but it's still awkward.
What exactly are you trying to achieve? Perhaps there is a better approach to a solution.
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