Want to display image file name associated with Image Form Field

New Here ,
Apr 29, 2021 Apr 29, 2021

Copy link to clipboard

Copied

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.

Screen Shot 2021-04-29 at 11.41.31 PM.png

TOPICS
Create PDFs, How to, JavaScript, PDF forms

Views

80

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 30, 2021 Apr 30, 2021

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 30, 2021 Apr 30, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines