Skip to main content
Participant
April 1, 2024
Answered

Is there a way to make fallible text boxes and check boxes transparent rather than light blue?

  • April 1, 2024
  • 1 reply
  • 609 views

I have designed an invitation for a corporate event in illustrator and have converted it to a fillable PDF. It works well and the recipients can fill it out. However, I would like the background of the text boxes to be transparent rather than the light blude color. The design of the invitation indicates where you need to click for the text boxes and where the check boxes are and with the blue background is ruining the visual aesthetic of the design. Is there a way to make it transparent?

This topic has been closed for replies.
Correct answer Thom Parker

The light blue color is the form field highlighting. This is an Acrobat Preference, not a document property. You can turn it off or change the color, but this only affects you. Other people will see it however their preferences are set. 

However there is something that can be done for people who fill out this form in Acrobat Reader/Pro. 

Add this code to a document script in the form. It forces highlighting off.

 

app.runtimeHighlight = false;

 

 

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
April 2, 2024

The light blue color is the form field highlighting. This is an Acrobat Preference, not a document property. You can turn it off or change the color, but this only affects you. Other people will see it however their preferences are set. 

However there is something that can be done for people who fill out this form in Acrobat Reader/Pro. 

Add this code to a document script in the form. It forces highlighting off.

 

app.runtimeHighlight = false;

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
August 23, 2024

Hi,

How do I add the code to check box fields? Do I add it under actions? If yes, I'm not sure which trigger to select.

Thom Parker
Community Expert
Community Expert
August 27, 2024

If you are thinking you can turn it on and off from the document with a checkbox, then Yes, put it on the MouseUp script. 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often