Skip to main content
Known Participant
January 20, 2020
Question

Creating a fillable form where the recipient can paste a gif or small image Along with type

  • January 20, 2020
  • 2 replies
  • 3743 views

I am hoping to find a way for my customers to paste images of some form into the text fields (or another type of field if required). As an example. A field placed in a date box on a calendar. The recipient could type Dad’s Birthday and grab a supplied image of a birthday cake and paste it. My fillable forms presently work great but only for type. 

This topic has been closed for replies.

2 replies

Thom Parker
Community Expert
Community Expert
January 20, 2020

This is possible, use a button field as the "image field" and add this code to the MouseUp event

 

event.target.buttonImportIcon();

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Known Participant
January 21, 2020

So I'm at this step and want to cope and paste code but , are unable to paste here or if I click the Add button. Is this the wrong button? 

Known Participant
January 23, 2020

It doesn't matter what version you have, only what the end-user has.

 

Reader DC can be downloaded for free from here: https://get.adobe.com/reader/


I seem to be getting this box instead of the box where I can paste your code (event.target.buttonImportIcon();). Yesterday every was groovy and moving along. today I get this window so I cant paste the code. Suggestions?

 

John T Smith
Community Expert
Community Expert
January 20, 2020

Please post the name of the Adobe program you use so a Moderator may move this message to that forum

Known Participant
January 20, 2020

Adobe Acrobat 9 Pro