• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dropdown menu background color change

New Here ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

Hello,

I'm a total rookie with Adobe Pro and I'm trying to figure out how to add javascript to my fillable pdf form.  More specifically, I have about 100 dropdown menus each with the same items to select: "1", "2", "3" and "4".  

I hoping there's a way to incorporate javascript to  each dropdown menu that would change the background color depending on which item is selected.  i.e

If "1" then background to red

If "2" then background to yellow

If "3" then background unchanged or white

If "4" then background to green

 

Is there an easy way to do this?

 

Thank you!

TOPICS
Acrobat SDK and JavaScript

Views

2.5K

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

correct answers 1 Correct answer

Community Expert , Nov 11, 2019 Nov 11, 2019

Votes

Translate

Translate
Community Expert ,
Nov 11, 2019 Nov 11, 2019

Copy link to clipboard

Copied

LATEST

Votes

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