Skip to main content
josej70561724
Participating Frequently
October 6, 2016
Question

pdf submit form> submit button to email error

  • October 6, 2016
  • 4 replies
  • 4828 views

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 has been closed for replies.

4 replies

josej70561724
Participating Frequently
October 18, 2016

hi

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

Known Participant
October 6, 2016

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)?

NKOWA555
Inspiring
October 6, 2016

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);}

josej70561724
Participating Frequently
October 7, 2016

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.

josej70561724
Participating Frequently
October 6, 2016

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.

NKOWA555
Inspiring
October 7, 2016

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.

josej70561724
Participating Frequently
October 10, 2016

the pdf and website is carpenterswh.co.za

NKOWA555
Inspiring
October 6, 2016

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.