PDF Editing Issues

How to Hide Blue Field Highlighting in Partially Completed PDF Forms

Jason MillerJason Miller Nov 3, 2026 868 views

Question details

The user wants to hide the blue fillable-field highlighting for specific completed fields in a PDF form while leaving the remaining fields highlighted and editable for clients.

How to Hide Blue Field Highlighting in Partially Completed PDF Forms
Product
PDF
Device & OS
not provided
Scenario
Staff members are entering partial information into a PDF form (like name and address) and need to save it without the blue highlights on their filled sections before passing it to a client.
Observed behavior
Fillable fields display a blue background highlight by default. This highlighting is a global setting and cannot be natively disabled for individual fields while keeping others highlighted.
Before you start

Before modifying your form properties or adding scripts, ensure you have saved a backup copy of the original PDF. You will need a PDF editor that supports form creation and JavaScript execution.

Solution 1Recommended

Use JavaScript to Make Completed Fields Read-Only

Since highlighting applies universally to all active fillable fields, converting the completed fields to 'read-only' will automatically remove their individual blue backgrounds.

PDF editors toggle field highlighting for the entire document, meaning you cannot natively turn it off for just a selected few fields. However, read-only fields do not display this interactive highlighting. By adding a simple JavaScript toggle (like a button or checkbox), you can lock the completed fields and remove their highlighting instantly.

1
Open form editing mode

Open your PDF form in your preferred PDF editor and navigate to the 'Prepare Form' or 'Edit Form' tool to access field properties.

2
Add a trigger button or checkbox

Insert a new Button or Checkbox onto the form. This is what the staff member will click once they finish entering their specific section.

3
Access field properties

Right-click the newly created button or checkbox and select 'Properties' from the context menu.

4
Assign a JavaScript action

Navigate to the 'Actions' tab. Select 'Run a JavaScript' from the action dropdown menu and click the 'Add' button.

5
Enter the read-only script

Type a script that sets the staff fields to read-only. For example: this.getField("StaffName").readonly = true; Replace 'StaffName' with the exact name of your text field. Click 'OK' to save.

6
Test the form

Exit form editing mode. Fill in the staff fields, then click your new button. The fields will lock, and the blue highlight will disappear, leaving the client fields ready for input.

Use JavaScript to Make Completed Fields Read-Only
Exact field names required: The JavaScript code relies on the exact names of your specific text fields. Ensure your field names match perfectly with what is written in the script, including case sensitivity.
Complete PDF Editor

Create and Manage PDF Forms Easily with WPS Office

WPS Office provides a comprehensive PDF toolset that allows you to effortlessly view, edit, fill out, and manage interactive PDF forms without visual clutter.

  1. 1. Download and install: Download and install WPS Office on your computer or mobile device.
  2. 2. Open the PDF document: Launch WPS Office and open your interactive PDF form using the WPS PDF tool.
  3. 3. Access form tools: Click on the 'Form' tab at the top of the interface to access interactive form tools and display settings.
  4. 4. Fill and export: Fill out your necessary fields, then use the export or document protection features to finalize the PDF as needed.
Easily fill out interactive PDF forms and manage highlighting preferences.Fully compatible with standard PDF formats, Adobe Acrobat forms, and Microsoft Office documents.Create, edit, and convert PDF documents seamlessly in one application.Lightweight software with an intuitive, user-friendly interface for faster workflows.
microsoft office alternative - wps office

Frequently Asked Questions

Can I turn off field highlighting for the entire PDF document?

Yes. In most PDF readers, you can disable the global field highlighting by toggling the 'Highlight Existing Fields' button (typically found at the top right of the document) or by adjusting your application's viewing preferences.

Does making a field read-only prevent clients from changing the data?

Yes. Once a field is set to read-only, its contents are locked and cannot be edited by the user. This safely preserves the staff's input while the client fills out the remainder of the form.

Will the blue highlight show up when the PDF is printed?

No. The blue background highlighting is strictly an interactive visual aid for digital viewing and data entry. It does not appear on the physical paper when the document is printed out.

How do I undo the read-only status if I made a mistake?

If you are using a checkbox with JavaScript, you can write an 'if/else' script that toggles the read-only status back to false when the box is unchecked. Otherwise, you must return to the form editor mode and manually uncheck the 'Read Only' property in the specific field's settings.