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?
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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();
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Use PDF Expert by Readdle.

