Copy link to clipboard
Copied
I need to be able to send a copy of the PDF to the email address that was typed into a text Field when I click on the submit button on the form. I already have the form emailed to a address I just need to know how to send a copy to the email address in the text field on the form.
Copy link to clipboard
Copied
I think the link to this article has changed to this:
https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address/index.html
Anyway, the article shows how to use a script to send an email. So if you know how to use a script to get a field value, then your question is answered. If not, then take note of this line from the script in the article.
var cCCAddr = this.getField("ClientEmail").value;
It acquires the CC email address from a field named "ClientEmail". So there you are. Just use the same technique to get the cToAddr, i.e. the main email address.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks for your reply. I read thru the document and I did not see where I can take a email addressed that was typed into a text field on the PDF document is used to email a copy of the PDF to that email address. Is this possible? If so, please expain how. If this not possible then please give examples.
Copy link to clipboard
Copied
I think the link to this article has changed to this:
https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address/index.html
Anyway, the article shows how to use a script to send an email. So if you know how to use a script to get a field value, then your question is answered. If not, then take note of this line from the script in the article.
var cCCAddr = this.getField("ClientEmail").value;
It acquires the CC email address from a field named "ClientEmail". So there you are. Just use the same technique to get the cToAddr, i.e. the main email address.
Copy link to clipboard
Copied
When I am on the button properties on the actions tab I am not able to insert the javascript code listed in the artical under Mouse Up. I can select an action (in this case I can select Submit a form) when a window pop's up where I can add the email address of where I want one of the emaill address that I am submitting to but I can only add one address and there is no where else on the button properties for me to add the javascript code.
Copy link to clipboard
Copied
Since the solution is for a script, you need to select the "Run a JavaScript" action.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now