Skip to main content
Inspiring
September 27, 2022
Answered

Can a Fillable Form Be Sent Directly From PDF?

  • September 27, 2022
  • 1 reply
  • 1099 views

Hi,

Can I do the following in Acrobat DC?

 

Include several fillable forms in a 30-pages PDF. When readers have filled in one of the forms, they should be able to click a button which then emails the form -- but not the entire PDF -- to a recpient that I should be able to specify.

 

Is that possible?

 

Thank you in advance!

 

This topic has been closed for replies.
Correct answer Thom Parker

The PDF attachments are inside the PDF, so you can store multiple forms inside your main form. 

PDF attachments can be opened from a script with the "doc.openDataObject()" function. 

Here's the reference entry:

https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#opendataobject

 

 

1 reply

Thom Parker
Community Expert
Community Expert
September 27, 2022

The way to implement this type of feature is to make up separate versions of the forms to be emailed and then attach them to the main PDF.  The email button would then open the attached form, copy data from the main form into the attached form and email it.  This solution only works in Acrobat Pro, Reader, and other really good PDF viewers. It would not work in any Mobile device or browser based viewer.    

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
September 27, 2022

Thank you very much, Thom! That's clever!

 

Can I ask if there is any way that the separate forms can be included in the main PDF? For my purposes, I unfortunately need one single .PDF file.

 

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
September 27, 2022

The PDF attachments are inside the PDF, so you can store multiple forms inside your main form. 

PDF attachments can be opened from a script with the "doc.openDataObject()" function. 

Here's the reference entry:

https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#opendataobject

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often