Skip to main content
Participant
April 14, 2024
Answered

In Acrobat DC pro forms, how to turn off highlighting once fields are filled

  • April 14, 2024
  • 2 replies
  • 1158 views

In Acrobat DC pro forms, how to turn off highlighting for those fields which are filled by users. Suppose there are 10 fillable text fields in a form, by default all fields show the blue highlight. As the user fill data in the first field and tab to second field, the blue highlight turns off for the first field and so on. At the end only those fields show highlight which are empty. 

In short, how to set the blue highlight option only for empty fillable fields. 

Help from the community is requested, please 

This topic has been closed for replies.
Correct answer try67

This applies to all fields, though. They seem to want to do it to one field at a time, as they are filled in, and that can only be achieved if a script is used to create the highlighting by setting a fill color depending on the field's value.

2 replies

Thom Parker
Community Expert
Community Expert
April 14, 2024

Actually, you can turn off field highlighting from a non-privileged (document) script. 

 

app.runtimeHighlight = false;

 

Keep in mind that this is an application level property that is setup from from the Acrobat Preferences.  So when this is changed, it is changed for all PDFs the user will open. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 14, 2024

This applies to all fields, though. They seem to want to do it to one field at a time, as they are filled in, and that can only be achieved if a script is used to create the highlighting by setting a fill color depending on the field's value.

maxwithdax
Community Expert
Community Expert
April 14, 2024

This is not a property you can individually target when the blue is the PDF default action. You might consider adding a custom color to the form field and then controlling that through javascript.