eMail Submit button with mailto: based on form data
Copy link to clipboard
Copied
Based on form data, I would like to have a email button (SUBMIT) that sends mail to the email address identified in the email field. Obviously this can change, how would one go about programming a button to send to email based on field data? Thank you
Copy link to clipboard
Copied
Hi David
Hope you are doing well and sorry to hear that.
The workflow that you are trying to achieve might be possible with JavaScript.
For more information about using the JavaScript please check the help page
- https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html
- https://acrobatusers.com/tutorials/javascript_console/
Regards
Amal
Amal
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks Amal
David
Copy link to clipboard
Copied
Thank you Amal
David
Copy link to clipboard
Copied
Im looking to have the SUBMIT button refrence whatever email address is entered into the email field and when the SUBMIT button is clicked on the form would open up Outlook with the correct email address and completed PDF form attached.
Can I just use the mailto: feature and point it to the email address field or am I required to program JavaScript which I dont really understand?
Thank you
Copy link to clipboard
Copied
No. The mailto command is not dynamic. You have to use a script for what you described.

