Dave Watts wrote:
>> I am building a ColdFusion 7 MX site that uses PDF forms to 
>> capture and display data.
>>
>> ----- This works -------
>>  From a machine that has Adobe Reader 7.0.x on it, if you go 
>> to http://eforms.ca/eforms/open/sla-test.pdf
>> a PDF form will appear.
>> (the files in "../open/.." are there for easy demonstration 
>> of the problem)
>>
>> If you then click on the button at the top entitled "List Form Data"
>> it will submit to http://eforms.ca/eforms/open/pdfListData.cfm
>> which does a
>> <cfdump var="#FORM#">
>> and you will see a nice list of 40 or so fields from the PDF
>>
>> This is GOOD!
>>
>> -------- This does not work -----
>> If you do precisely the same thing from a machine that has 
>> Adobe Pro 8.0 on it the field list will have only two fields
>>
>> .. FIELDNAME with data of just one fieldname FORMID
>> .. FORMID with data that seems to have the fieldname/value   
>> pairs that 
>> should show as separate fields.
>>
>> This is BAD!
>>
>> Does anyone have any thoughts on what might be causing it.
>>     
>
> I'm not sure, but here's what I'd look at. Capture the raw HTTP POST of
> both, and see whether they're using the same request headers. The request
> body is likely to be different, obviously, so you'll want to compare those
> as well. You can use the GetHTTPRequestData function for this.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>   
Hey Dave
Good shootin' Tex!

The form at

http://eforms.ca/eforms/open/sla-test.pdf

now has a 2nd button "HttpRaw"
It does a submit to pdfHttpRaw.cfm

<h2>GetHttpRequestData</h2>
<cfset headerInfo = #GetHttpRequestData()#>
<cfdump var="#headerInfo#">

I ran it from two machines, one with Acrobat 7 and one with 8.
The cause of the problem was immediately obvious.

On the 8.0 version the "content" was missing the & separator at the 
front of the field names.
eg
content  FORMID=EXP_IMP_EICS_FILE_NUMBER=44350APPLICANT...
With the 7.0 version it was like it should be:
content  FORMID=&EXP_IMP_EICS_FILE_NUMBER=44350&APPLICANT...

-------- Sure looks like a bug in Acrobat 8.0 ----
How does one report something like this?

Thanks




content FORMID=








> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262562
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to