Skip to main content
Participant
April 30, 2021
Question

Want to display image file name associated with Image Form Field

  • April 30, 2021
  • 2 replies
  • 1716 views

I have a PDF that I've created a standard image form field on...Click on the icon and browse to find your image, and it appears in the PDF.
I would like a separate field to also display that same image's file name.


Can this be automated easily? I can't find an exact answer, and none of the JS I've tried have work.

 

I want end product to look like this, where the image file name is displayed and self-populates based upon whatever image is chosen.

2 replies

Participant
March 27, 2025

Hello, I also need to do that regularly but impossible to add file name next or under photos when I issue a new PDF with combination of photos.

Very annoying, and even the new AI assistant don't "understand" the request... another AI tool which is not working fully. A pity.

try67
Community Expert
Community Expert
March 27, 2025

It's not impossible, but it's not easy, either, as I've explained above.

try67
Community Expert
Community Expert
April 30, 2021

No, not easily.

In order to do that you would need a different command for selecting the file, then copying the path to a text field (or even the caption of the image field itself), and another command to import it as the icon of the image field. However, the latter requires installing a script on the local computer of each user, which is not always possible.

 

Cute cat, by the way.

Participant
April 30, 2021

Thank you. I was afraid of that. Appreciate your fast response.