Dropdown fill color not working for end user of fillable PDF
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