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
  • 1 reply
  • 684 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 has been closed for replies.

1 reply

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!