Skip to main content
maryanne3295467
Participant
April 25, 2017
Answered

Dropdown fill color not working for end user of fillable PDF

  • April 25, 2017
  • 1 reply
  • 1045 views

Working in Acrobat Pro DC, I'm using the following script to create dropdown lists with colored backgrounds based on the value chosen:

if (event.value=="A")

event.target.fillColor - color.red;

else if (event.value=="B")

event.target.fillColor = color.yellow;

else if (event.value=="C")

event.target.fillColor = color.green;

else if event.value=="D")

event.target.fillColor = color.cyan;

else event.target.fillColor = color.white;

However, the colors don't fill in when the PDF is used by people with just Acrobat Reader. (Works great for me.) Here's what else I've done:

  • Selected 'Commit selected value immediately' in each of the fields' Properties Option.
  • Turned off Highlight Existing Fields in the Form Option
  • Saved the PDF as an Extended Reader PDF.

Any ideas for what I'm not doing right or what I still need to do?

Thanks!

Maryann

This topic has been closed for replies.
Correct answer try67

Are you sure they're using Adobe Reader and not something else? Ask them for a screenshot of the window where the file is opened.

If they are using it in Reader tell them to disable the fields highlighting (under Edit - Preferences - Forms).

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 25, 2017

Are you sure they're using Adobe Reader and not something else? Ask them for a screenshot of the window where the file is opened.

If they are using it in Reader tell them to disable the fields highlighting (under Edit - Preferences - Forms).

maryanne3295467
Participant
April 28, 2017

Thanks for your reply. I will try this.