Skip to main content
Participant
November 5, 2024
Question

How to Create a Color-Coded Dropdown Menu in Interactive PDF Using InDesign

  • November 5, 2024
  • 3 replies
  • 702 views

Hello.

 

I am attempting to generate an interactive PDF in InDesign that would have drop down menus with three (3) values; 1, 2 and 3. The numbers would each have an assigned color to them, ie 1 = yellow, 2 = orange and 3 = red. So when the user selected the number two from the drop down menu, it would display yellow but it a number 3 was selected, it would display as red. Is this possible?

 

 

<Title renamed by MOD>

This topic has been closed for replies.

3 replies

JR Boulay
Community Expert
Community Expert
November 8, 2024

The script is in the "Format" tab.

I've also turned the background grey, because otherwise the yellow (1) is almost invisible.

 

Acrobate du PDF, InDesigner et Photoshopographe
JR Boulay
Community Expert
Community Expert
November 7, 2024

Please share your PDF and the ChatGPT script. I don't have the time to create one from scratch.

Acrobate du PDF, InDesigner et Photoshopographe
Participant
November 7, 2024

Wow. I am sincerely grateful for you willing to take a crack at this!

JR Boulay
Community Expert
Community Expert
November 5, 2024

This is possible, but you can only do it with Acrobat Pro using JavaScript, bearing in mind that the numbers will only change colour once they have been selected.

Acrobate du PDF, InDesigner et Photoshopographe
Participant
November 5, 2024

I am truly hoping this is indeed possible. I used chatGPT to see if there was a way to achieve my desired outcome. It was somewhat in line with what you were saying. It generated the javascript code, I followed the steps by opening the PDF in Acrobat Pro, pasted the javascript, modified it to match my parameters and still no luck. 
Have you been able to achieve something like this in an interactive PDF?