Skip to main content
Participant
March 8, 2017
Question

How to change the field background color after data is entered in the text field for Adobe Acrobat DC?

  • March 8, 2017
  • 2 replies
  • 688 views

How to change the field background color after date is entered in the text field for Acrobat Adobe DC?

I would like the background color to be changed to yellow when text in entered into the field.

Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

try67
Community Expert
Community Expert
March 8, 2017

Use this code as the field's custom Validation script:

event.target.fillColor = (event.value=="") ? color.white : color.yellow;

moswarthyAuthor
Participant
March 8, 2017

Thank you very much!