Script to change text field's fill color depending on text not working in Adobe Reader
Hi
I prepared a document with a form text field. The custom validation script for each field is as follows:
if (event.value=="No Stock")
event.target.fillColor = color.red;
else if (event.value=="Medium")
event.target.fillColor = color.yellow;
else if (event.value=="High")
event.target.fillColor = color.green;
else if (event.value=="")
event.target.fillColor = color.transparent;
Basically, it is working fine in Adobe Reader DC Pro for me and my collegues
But in all other Adobe Reader versions (e.g. Adobe Reader DC), the coloring is not permanent only when you hover over the field and click on it you can see it.
And I don't understand what I am doing wrong!
Thanks already for the help and suggestions
