[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

08/27/2009 at 07:30AM PDT, ID: 24686742
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

PDF Form HTTP Submit in Adobe Reader

Asked by Tingathewinga in Adobe Acrobat, Scripting Languages, PHP and Databases

Tags: PDF, Acrobat, Form, php

I have some PDF forms i wish to distribute and to make my lfe easier i want to collect the responses via an HTTP Submit button on the page.

This in it's self is no problem and took about 10 minutes to make, it works fine in Acrobat Pro, but i ran into a problem in Adobe Reader.

This seems to be an old problem since i am finding people asking about it going back years, adobe reader keeps returning "Cannot handle content type: text/html;"  this is because it can't dispay a webpage.

Suggested solutions i have found on teh net are as follows:

Having IE open will cause a new window to spawn and the error won't occur, but i can't guarantee IE will be open.

Return a PDF as the response is another common solution which i have tried with the following:
<code>
header('Content-type: application/pdf');
header('Content-Disposition: attachment;filename="/thankyou.pdf"');
</code>
this works in a browser but not in adobe reader

Return a status code which tells it not to expect any data
<code>
header('Status: 204 No Content');
</code>
This still produces the same error

I have tried sending back some hand wrtten FDF but that is still producing the same error.

So in short regardless of the headers i specify it is seeing it as "text/html".

All i really want is for the error to go away, the ultimate solution would be to cause a pop-up message where i can give some feedback.

If anyone could give a working example of some code that accepts posted data from a pdf and sends a response that doesn't error in adobe reader (only looking to support ver 7+) it would be greatly appreciated.
[+][-]08/27/09 07:46 AM, ID: 25198818

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/27/09 10:52 AM, ID: 25200914

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/27/09 10:55 AM, ID: 25200933

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/27/09 10:58 AM, ID: 25200952

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/27/09 02:24 PM, ID: 25202867

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/29/09 05:25 AM, ID: 25213817

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/05/09 02:09 AM, ID: 25265424

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Adobe Acrobat, Scripting Languages, PHP and Databases
Tags: PDF, Acrobat, Form, php
Sign Up Now!
Solution Provided By: Tingathewinga
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625