These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Text color stuck on yellow

David Dunn
Registered: Oct 28 2010
Posts: 116

I have on focus/on blur scripts on many fields to change the field fill and text color on focus (dkGray fill, yellow text) and return to normal on blur(ltGray fill, black text). I have 3 fields that seem to be stuck on ltGray fill, yellow text on blur, and no matter what I do I can't make the yellow text return to black, regardless of whether I do it in the appearance panel or with the script.
 
Any insight into this anomaly would be appreciated. Thank you.
 
DavidD

David D

My Product Information:
Acrobat Pro 9.4, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Maybe another script is setting their color by accident?
Try looking under Document JavaScripts... and see if their name appears in any other code.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

David Dunn
Registered: Oct 28 2010
Posts: 116
After confirming the On Blur action was indeed resetting the text color to black - which I could see in the appearance panel - but the text color persisted in displaying as yellow in the affected fields, I discovered the problem was that "allow rich text formatting" was enabled in those fields and as soon as I deselected that, problem solved. Thank you for your thought. That certainly was a possibility.

David D