These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Suddenly submitForm() does not return any results

SorenWerk
Registered: Sep 12 2007
Posts: 2

We have over 30 PDF forms that have been in production for years. They all use submitForm() to request data from the server.
 
The server uses this code to return FDF data that subsequentially populates fields in the form.
 
Dim objFdfDoc As FDFDoc
...
Response.BinaryWrite objFdfDoc.FDFSaveToBuf
 
But all of a sudden some of our customers clients (IE browsers with Adobe Reader) are not getting any return data. Do you have any idea why?
 
The problem has been encountered on IE6 and IE7 with AR7 and AR8.

My Product Information:
Reader 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
submitForm() has a lot of input arguments, but it uses a simple and well known mechanism to communicate to a server script, i.e. HTTP Request/Response.

Have you verified that the Server is recieving the Request and returning a response? Some customers may have firewalls that are causing problems.

Is Acrobat displaying an error message?

Have you checked the parameters used in "submitForm"? There are several changes in Acrobat 8 security and may cause "submitForm" to fail. For example "cPassword".

Does the submission URL use a port other than 80? This could also cause a problem with a firewall.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script