Skip to main content
Participant
Apr 30, 2021 4:48 AM UTC
Question

Want to display image file name associated with Image Form Field

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.

5 replies

Participant
Mar 27, 2025 9:52 AM UTC

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.

Translate
try67
Community Expert
Community Expert
Mar 27, 2025 9:57 AM UTC

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

Translate
try67
Community Expert
Community Expert
Apr 30, 2021 8:40 AM UTC

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.

Translate
Participant
Apr 30, 2021 1:57 PM UTC

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

Translate