Skip to main content
Participant
April 25, 2018
Question

How can I create a button "insert picture" that, when clicking on it, activates the camera of the Ipad and place the picture in the PDF form?

  • April 25, 2018
  • 1 reply
  • 5393 views

Hello,

How can I create a button "insert picture" that, when clicking on it, activates the camera of the Ipad and place the picture in the PDF form?

Basicly, I want to use the PDF form for inspections on the Ipad.

The inspection includes a part, where the inspector needs to insert a picture.

I am searching for the answer on how to:

click on a button --> the button activates the camera of the Ipad --> user makes a picture --> picture appears in the form

Do I need to fix this by using a Javascript code for the button?

If so, then what's the code?

Thanks for helping!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
April 25, 2018

You can set a button to accept an image file, but to be able to use the camera you would need to use an app called PDF Expert by Readdle. The Adobe apps don't support this functionality, unfortunately.

To set it up (in Acrobat) is quite easy. If you have a relatively new version just add an "Image Field".

If you have an older version add a button field, set its layout to Icon Only and as its MouseUp event have it execute this JavaScript code:

event.target.buttonImportIcon();

Participant
April 25, 2018

Dear try67,

Thanks for your reaction !

Unfortunately, the option for just an image field where you can insert a picture from your files doesn't work on the Ipad.

What you said does work on the computer, but somehow it doesn't react in adobe at the Ipad.

Do you know how to solve that problem?

try67
Community Expert
Community Expert
April 25, 2018

Use PDF Expert by Readdle.