Hi,
I m trying to submit form from attachment using this.submitForm() in pdf javascript. Its working fine in all versions but getting error in Reader 9.
While submitting form the error is like "adobe Reader 9.0 has encountered a problem and needs to close We are sorry for invonvenience"
How can I resolve this issue in Reader 9. Please help me
regards
Rajesh Karka
But here are a couple of other techniques you can try.
1. Try using the built-in submit action. If it works your set, and if not it gives you a better idea of the scrope of the problem.
2. Try using one of the email submit functions such as "this.mailForm()"
3. Try activating the submit from the parent (main) PDF, like this
var oAttachedForm = this.openDataObject("MyForm");
oAttachedForm.submitForm(...);
4. Last Option: From a button script on the parent (main) PDF. Collect all the form data from the attached form, build a custom XML and then submit it. This way the submit is from the main PDF and not the attachement.
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/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script