Skip to main content
CyndyMarks
Participant
March 16, 2026
Question

Need Acrobat Pro to display icons that represent a number score - not the number itself.

  • March 16, 2026
  • 1 reply
  • 19 views

***I am running Acrobat Pro on a MacBook Pro running Tahoe***

After around six hours of ChatGPT guiding me through about twenty five failed attempts to make this work, I am hoping a smart human can do what AI cannot.

  • I have a rating form with a 0-10 point rating scale.
  • II want the form to display an icon that represents the number.  I have the icon images ready to import into Acrobat.
  • I do not care if the form lets me select the icon from a drop down menu or the form converts the number I enter to the icon or I click multiple times to.cycle through the list of icons to select the one I want.  I just want the end product to display the icon and not the number.

Can someone help me with this?

    1 reply

    JR Boulay
    Community Expert
    Community Expert
    March 16, 2026

    See attachment.

    Imagine that the menu items are numbers and the photos are icons that represents the number .
    Is that roughly what you’re looking for?

    Acrobate du PDF, InDesigner et Photoshopographe
    Karl Heinz  Kremer
    Community Expert
    Community Expert
    March 17, 2026

    You’ve come to the right place :) I have not had a lot of luck with AI and Adobe Acrobat JavaScript - this is just likely too specific for AI to get a good handle on how this all works. 

    What JR posted should work for you. Just to give you some context: You an add an image to a button (you can have text on a button, or an image, or text and an image combined). For this to work, you will need to create as many buttons as you would like to have score values, and then you stack the buttons over each other and enable only the one button with the correct score. 

     

    If you need to do this in several locations of your document, then create this “stack” once and hide everything, and then only create a simple button with a placeholder image where you want to show the score. 

     

    When the score changes, you can then copy the button image data from the “stack” and assign it to your button face. You can use something like this:

     

    this.getField("btnTarget").buttonSetIcon(this.getField("btnSource").buttonGetIcon());