Skip to main content
Participant
February 24, 2017
Answered

What would be the best solution to create an interactive pdf, where the end user can attach an image to the file and save the changes?

  • February 24, 2017
  • 1 reply
  • 908 views

What would be the best solution to create an interactive pdf, where the end user can attach an image to the file and save the changes?

This topic has been closed for replies.
Correct answer try67

This can be done using a button field set to display an icon and a simple script.

However, only users of Reader XI or higher will be able to import a file into this button, and only those that have the very latest version of Reader DC will be able to select anything but PDF files as the image file.

The code to use as the button's MouseUp event is simply this:

event.target.buttonImportIcon();

However, I would recommend that you create this field in Acrobat, not in InDesign. The two applications don't "play well" when it comes to form fields, so if a field needs to be edited it should only be done in one application or the other, from my experience.

1 reply

try67
Community Expert
Community Expert
February 24, 2017

What do you mean by "attach", exactly? Are you talking about displaying the image on the page, or just attach it as a stand-alone file to the main PDF?

Also, what application will the end-user be using to open this file?

Basically, the best option is to use Adobe Acrobat Pro to create the file. It gives you the most control over how it is set up and how it works.

Participant
February 24, 2017

Thanks for the reply, much appreciated.

I am using Indesign CC to create my interactive pdfs, which will then be sent to people who will be viewing them in Adobe Reader, unfortunately they don't have the full Acrobat version.

I'm trying to find the best / easiest way where they can attach an image to the file when viewing in Reader. Attaching as a stand alone file to the main PDF will be ok, or placing it on the page will probably be the preferred option.

There isn't something I can trigger in Indesign to allow this function, no?

Thank you for your help.

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 24, 2017

This can be done using a button field set to display an icon and a simple script.

However, only users of Reader XI or higher will be able to import a file into this button, and only those that have the very latest version of Reader DC will be able to select anything but PDF files as the image file.

The code to use as the button's MouseUp event is simply this:

event.target.buttonImportIcon();

However, I would recommend that you create this field in Acrobat, not in InDesign. The two applications don't "play well" when it comes to form fields, so if a field needs to be edited it should only be done in one application or the other, from my experience.