Skip to main content
OsherE
Participant
January 4, 2017
Answered

can i make an image field in a pdf form?

  • January 4, 2017
  • 2 replies
  • 8085 views

i set up few text fields successfully in a pdf form. i also need a field for an image. is there any way to do this? i would like to save this form and have other people fill in the text field and insert a picture.

This topic has been closed for replies.
Correct answer George_Johnson

You have to configure the button with a layout other then "Label only" on the Options tab and then use the following Mouse Up JavaScript:

event.target.buttonImportIcon();

When the button is clicked, the user will be prompted to select a page from a PDF to use as the source for the button icon. Acrobat users will be able to select and source file that Acrobat knows how to convert to PDF.

2 replies

OsherE
OsherEAuthor
Participant
January 5, 2017

I inserted a button but how do i set the action to allow a user of adobe reader insert an image. i understand they have to make the image into a pdf first.

George_JohnsonCorrect answer
Inspiring
January 5, 2017

You have to configure the button with a layout other then "Label only" on the Options tab and then use the following Mouse Up JavaScript:

event.target.buttonImportIcon();

When the button is clicked, the user will be prompted to select a page from a PDF to use as the source for the button icon. Acrobat users will be able to select and source file that Acrobat knows how to convert to PDF.

Inspiring
January 4, 2017

You can use a button field for this, but Reader users will only be able to import images that were first converted to PDF. Post again if you'd like more information, or do a search for "buttonImportIcon".