Copy link to clipboard
Copied
Is it possible to add the fillable form information to the body of an email instead of an attachment when they click 'submit'?
Copy link to clipboard
Copied
@Kelsey28139309et83 wrote:
Is it possible to add the fillable form information to the body of an email instead of an attachment when they click 'submit'?
Not straight out of the box — sometimes scripters have solutions (some paid; some free).
Within Acrobat, you can import the .fdf and/or pdf files into Excel or write code into the Submit button that will put the info into your database.
What is your goal in having the form info in the body of the email?
Jane
Copy link to clipboard
Copied
Yes, but not using the standard "Submit" action. It has to be scripted.
See the "app.mailMsg()" function:
https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/JS_API_AcroJS.html#mailmsg
Copy link to clipboard
Copied
It's important to note that this method will only work in Acrobat, though, not in the free Reader.
Copy link to clipboard
Copied
Well it's not that it doesn't work in reader, but that it requires privilege. The reference indicates it operates in all products.
So another option is to add the info in a "doc.Submit Form", "doc.mailDoc", or "doc.mailForm" call. See this article for options using the submit operation:
https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address/
Copy link to clipboard
Copied
Maybe the permissions for mailMsg changed recently, then, because in the past it could not be used in Reader at all:
Copy link to clipboard
Copied
That's in the old reference. Here's the new one. They've changed the format:
However, I haven't tested it. And I've found vast differences in what's shown in the reference and what really works.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now