How to Remove the Blue Highlight Box on Hover Tooltips in PDFs
Question details
The user wants to remove the light blue highlight box that appears over form fields and hover-over tooltips in PDF documents.

- Product
- Device & OS
- not provided
- Scenario
- Creating interactive rollover definitions or pop-up tooltips in a PDF document.
- Observed behavior
- An unsightly light blue highlight box appears over the hover area when interacting with tooltips, detracting from the document's design.
Ensure you have permission to edit the PDF document and access to its form properties or JavaScript settings before attempting to modify highlight behaviors.
Disable Form Field Highlighting in Preferences (Local View)
Turn off the form field highlight color settings in your PDF viewer preferences. Note that this only affects how the document looks on your own computer.
Go to the 'Edit' menu in your PDF viewer and select 'Preferences' (or press Ctrl+K on Windows).
In the left-hand category pane of the Preferences dialog, select 'Forms'.
Locate the 'Highlight Color' section and uncheck the option labeled 'Show border hover color for fields'.
Click 'OK' to apply the settings. The blue box will no longer appear when hovering over form fields in your local application.
Apply Document-Level JavaScript to Disable Highlights Globally
Add a single line of JavaScript to the PDF to ensure the blue highlight box is hidden for anyone who opens the document.
Edit PDF Forms and Tooltips Seamlessly in WPS Office
WPS Office provides a highly intuitive PDF editor that allows you to easily view, manage, and edit interactive PDF elements like forms and tooltips without the clutter. Experience clean document viewing with WPS PDF.
- 1. Open WPS PDF: Launch WPS Office and open your target PDF document.
- 2. Navigate to Form Tab: Click on the 'Form' tab in the top ribbon to access interactive fields and properties.
- 3. Customize Elements: Select your interactive elements to modify their appearance, tooltip settings, and general properties.
- 4. Save Your Work: Click 'Save' or export the PDF to lock in your clean, professional design.

Frequently Asked Questions
Why do PDF forms have a blue highlight box by default?
PDF viewers enable form field highlighting by default to help users easily locate fillable areas and interactive elements like tooltips within a document. However, this can sometimes interfere with custom document design.
Will the document-level JavaScript hide highlights for all users?
Yes, adding 'app.runtimeHighlight = false;' turns off the highlighting when the document is opened. However, it only works if the recipient's PDF viewer supports and allows JavaScript execution.
Does removing the blue highlight affect the form's functionality?
No, removing the highlight color only affects the visual appearance of the fields. Users can still click, hover, and fill out the interactive forms or trigger tooltips normally.
How do I create a hover-over tooltip in a PDF?
Tooltips can be created by adding a button or text field, opening its Properties, and entering your desired text into the 'Tooltip' field under the General tab. When a user hovers over the field, the text will appear.





