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

Javascript attachment issue 9.0

cbent
Registered: Oct 8 2008
Posts: 16
Answered

I use browseForFileToSubmit() in a Javascript and works in Adobe reader 8.1.2 but not 9.0. Does anyone know if this is a preferences setting I need to adjust or is this a known problem with AR 9.0? When I press the submit it just sits there and does not allow the submit the form to be submitted.

My Product Information:
Reader 9.0, Windows
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Which part is not working? Are you able to select a file but not submit the form, or are you not able to select a file?

George
cbent
Registered: Oct 8 2008
Posts: 16
I can attach the file okay but when I hit submit of the whole form it just sits there with no error.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Which format are you submitting as (FDF, XFDF, HTML, PDF, etc.)? Are you able to submit this form if you do not select a file? How about a different form that does not contain a submitted file capability to the same server?

George
cbent
Registered: Oct 8 2008
Posts: 16
The format is PDF. If I do not add the download it works fine. When I add the download the submit (the form) button will not go forward. Other forms without the attachment will function correctly. All on the same server. Also, tried putting an attachment from another drive and the from the c drive, neither worked.
cbent
Registered: Oct 8 2008
Posts: 16
Continuation of last response: Neither drive attachment testings mattered once the submit button of the whole form was selected.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
That's interesting, I wouldn't have expected it to work at all when the entire PDF is submitted. How are any such files included in the PDF? As file attachment (data objects)? Does it work if Acrobat 9 (Pro, Standard, Extended) is used? I'll do a bit of testing myself and let oyu know if I come up with anything useful.

George
cbent
Registered: Oct 8 2008
Posts: 16
They are file attachments. Right now I am only testing one attachment at a time. Only have Acrobat Reader 9.0. This attachment process with submit does work on Adobe Pro 8.1.2. I use WorkflowGen, which allows uploading of PDFs into their application. The javascript commands sometimes are tweaked and are their version of the command. I am suspecting the submit command, which I think is theirs might be the culprit. The command is eformpdf_submitForm(). After searching the web I only get two entries for this command where as if I search for submitForm I get lots, which suggests this is a WorkflowGen issue. I do appreciate your help on this. Let me know the results of your testing if you feel this is still strickly a Adobe Reader issue. :/
cbent
Registered: Oct 8 2008
Posts: 16
George,
I received a community forum mailer email indicating that you responded but I don't see it.
rajesh.karka
Registered: Nov 14 2008
Posts: 3
I am also facing same problem. And I observed that when I submit from reader 8 or other versions the reqest is like this

%FDF-1.2%âãÏÓ1 0 obj<
<53B9C324AEE4DC87D1131E669A49FFA2>]
/UF(/D/4.pdf)/F(/D/4.pdf)>>>>endobjtrailer<>When I try same pdf using Reader9. request is like this

%FDF-1.2%âãÏÓ1 0 obj<
<53B9C324AEE4DC87D1131E669A49FFA2>]
>>/Type/Catalog
>>endobjtrailer<>If you find any solution on this please let me know.

regards
Rajesh
cbent
Registered: Oct 8 2008
Posts: 16
We have determined that this problem is in our vendor software not with Adobe Reader 9.0. The vendor creates their own submit commands, therefore we do not have access to what they do with the Adobe Reader submit command. With this said, I am afraid I cannot help you. We are waiting on a response from our vendor at this time. Thanks for everyones help in this matter.