Skip to main content
josej70561724
Participating Frequently
Oct 6, 2016 10:52 AM UTC
Question

pdf submit form> submit button to email error

i am total new to this and i would like to find out when on a adobe acrobat pro dc>order pdf submit form- im trying to set up the submit button to email i have tried different thing but i also dont understand alot of information. what im trying is ive developed a website with expression web plus and i have added the pdf on it. and i have up loaded the site on the net but when i go to the pdf form and go submit it does not send it to anything i would a explaintion one that is easy to understand on what i can do. the site carpenterswh.co.za

This topic is closed to new replies. Start a new post to keep the conversation going.

17 replies

josej70561724
Participating Frequently
Oct 18, 2016 2:15 PM UTC

hi

does any one know a website that i could see how its done which has a working PDF form.

Translate
Known Participant
Oct 6, 2016 3:08 PM UTC

Hi, I would like a little more information. Did you use a script to insert the e-mail address that you want the form submitted to, or did you use the tools in Adobe DC and type that address in the field for that tool (sorry, I don't use Adobe DC so I'm not sure exactly how it works there)?

Translate
NKOWA555
Inspiring
Oct 6, 2016 4:42 PM UTC

I used Acrobat Pro 8 to edit the properties of the submit button.

Actions tab>Add JavaScript Action on MouseUp event>Paste JavaScript:

try{

// EDIT THE FOLLOWING LINE

var to = "you@domain.com";

var strUrl = "mailto:"+to+"?subject=Carpenters Warehouse - Order Form&body=See attached file.&cc=&bcc=";

var submitAs = "PDF";

this.submitForm({cURL: strUrl, cSubmitAs:"PDF"});

}catch(e){app.alert(e);}

Translate
josej70561724
Participating Frequently
Oct 7, 2016 10:31 AM UTC

hi Nkowa555

i have tried that javascript but nothing happens:

created a submit button on the form> then i entered button properties like everything as told me to - Acton>Add an action>select trigger: mouse up> select action: run java script> enter the script> i do the rest of the gerenal button look and the i save.

Nothing still happens.

i see that its meant to open as email when clicking submit. is there a way to submit it like you would an enquiry form.

Translate
josej70561724
Participating Frequently
Oct 6, 2016 12:30 PM UTC

Hi

thank you for the response i have gone over properties of some on the information i thank you but want to see if there is another way to do it.

Translate
NKOWA555
Inspiring
Oct 7, 2016 3:30 PM UTC

please post a link to the PDF...

Also, make sure you use Adobe Reader to view the PDF in the browser or standalone; because, built-in browser PDF viewers are unable to calculate JavaScripts.

Translate
josej70561724
Participating Frequently
Oct 10, 2016 11:50 AM UTC

the pdf and website is carpenterswh.co.za

Translate
NKOWA555
Inspiring
Oct 6, 2016 11:44 AM UTC

You can have the form emailed back to you several different ways:

1) The easiest way is to submit via a javascript mailto: action on the button's mouse up event.

2) Same as #1, but use Adobe's built in functions, such as the submitForm method to send the whole PDF format.

3) Submit to a URL such as ASP.net or PHP.

Methods #1 & #2 require client-side email software on each client to be correctly configured.

Method #3 does not require client-side email software, since the script can send the submission without client-side email software using an existing SMTP account.

Check out the following tool to help you with method #1 & 2

[Mod: Link to 3rd party software removed ]

Check out the following website for method #3 examples:

[Mod: Link to 3rd party software removed ]

See the your form email using the submitForm method (#2):

[Mod: Link to 3rd party software removed ]

Limitations: All methods require Adobe Reader. Some end-users will not be able to submit the form from Mobile devices due to limitations with Adobe Reader for Mobile. Chrome no longer support Adobe Reader.

Translate