Forum Moderators: mack

Message Too Old, No Replies

Pdf

Creating a pdf with submit button

         

faith580

3:09 pm on May 5, 2008 (gmt 0)

10+ Year Member



I created a pdf with adobe pro and i added a submit button. i added the email address i wanted it to go to.

i did a test and i can enter text in all the boxes i created but when i hit sumbit nothing happens.

i dont get the email and i dont get an error.

any suggestions...

coopster

3:20 pm on May 5, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Are you using a "mailto:" in the action attribute of that form? Forms that use the mailto action are unreliable. The HTTP spec [w3.org] states that ...

User agent behavior for a value other than an HTTP URI is undefined

The only reliable mechanism for processing a form submission is server-side technology meaning that if you want to send any form data to an email address you should use a server-side program that processes the form submission and sends the data to the email address.

coopster

7:05 pm on May 5, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I'll try to expound a bit for clarification ...

Forms are most often created in HTML as everybody's web browser can open an HTML document. In order for your end users to open a PDF document they must have PDF viewer software installed. And if I remember correctly, there are certain stipulations for your end users if you are using advanced feature sets in Adobe Acrobat to create form documents. I believe they must actually have a full version of Adobe Acrobat installed, but I'm drawing from memory and conclusions on a project from quite a few years back now, so take that with a grain of salt.

Your best bet to have a form that works correctly is going to be simple HTML and a server-side form processing feature that will do with the form data what you will.

faith580

7:28 pm on May 5, 2008 (gmt 0)

10+ Year Member



okay i understand that...

but im also putting a digital signature box in the pdf. can you do a digital signature of some sort with html?

coopster

7:36 pm on May 5, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



For what purpose is this form? Is it to collect data from a visitor?

faith580

7:59 pm on May 5, 2008 (gmt 0)

10+ Year Member



yes, its an application to collect info.... name, number, references, signature.

then hit submit and come to me in an email as a pdf...

coopster

8:20 pm on May 5, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Oh, OK, now I understand. You are collecting information from a visitor and using Adobe Acrobat to allow their own signature to be sent to you. Kind of like a resume or something. Whatever it is, it requires a signature. I really cannot offer much more direction at this point other than a link to the Adobe site page on Digital Signatures [adobe.com].