PDF Editing Issues

How to Fix PDF Form Buttons Changing from Visible to Hidden

Steven ParkerSteven Parker Nov 3, 2026 868 views

Question details

Users experience PDF form buttons automatically changing their visibility status from 'Visible' to 'Hidden' after previewing, saving, or reopening the document.

How to Fix PDF Form Buttons Changing from Visible to Hidden
Product
PDF Editor
Device & OS
not provided
Scenario
Editing and saving interactive PDF forms containing button fields.
Observed behavior
Buttons that are manually set to 'Visible' unexpectedly revert to 'Hidden' without direct user intervention, usually upon document save, preview, or reopening.
Before you start

Before troubleshooting, ensure you have a backup copy of your original PDF form to prevent accidental data loss while modifying scripts or form properties.

Solution 1Recommended

Review and Remove Conflicting Scripts or Actions

Identify and delete any hidden document-level or field-level scripts programmed to change the button's visibility upon certain triggers.

PDF fields rarely change visibility on their own. This issue is almost always caused by a JavaScript or an action trigger (such as 'Mouse Up' or 'Document Save') that overrides the manual 'Visible' setting.

1
Open Button Properties

Right-click the affected button in your PDF editor's form editing mode and select 'Properties' from the context menu.

2
Check the Actions Tab

Navigate to the 'Actions' tab. Look for any triggers (such as Mouse Up, Page Open, or Document Save) that have an action set to 'Hide/Show a field' or 'Run a JavaScript'.

3
Inspect Document-Level Scripts

If the button properties are clear, check the document-level JavaScripts. Look for scripts executed upon saving or opening the document that might target the button's display state.

4
Remove or Modify Actions

Select the conflicting action or script and delete it, or modify the code so it no longer sets the field display state to 'Hidden'.

Review and Remove Conflicting Scripts or Actions
Test the Form: After removing the conflicting script, save the document under a new name and reopen it to verify the button remains visible.
Edit PDF Forms Easily

Create and Manage PDF Forms with WPS Office

WPS Office provides an intuitive PDF editor that lets you seamlessly create interactive forms, add buttons, and manage field properties without unexpected script conflicts.

  1. 1. Open Your PDF: Launch WPS Office and open your PDF form document.
  2. 2. Enter Form Mode: Navigate to the 'Form' tab on the top ribbon to access the interactive form editing tools.
  3. 3. Adjust Button Properties: Right-click any button, select 'Properties', and easily set it to 'Visible' without dealing with complex scripting.
Easily add, delete, and modify PDF form buttonsClear interface for managing field visibility and propertiesFully compatible with standard Adobe PDF formatsLightweight application that handles complex PDFs smoothly
microsoft office alternative - wps office

Frequently Asked Questions

Why do my PDF form fields disappear when I print the document?

In the field properties under the General tab, the visibility might be set to 'Visible but doesn't print'. Change the drop-down setting to 'Visible' to ensure the field appears on printed copies.

How do I find hidden scripts in my PDF?

You need to check the document-level JavaScripts and the 'Actions' tab within the properties of each form field, page, or document trigger (like Document Save or Page Open) using a professional PDF editor.

Can I lock a PDF form button so it stays visible?

Yes. In the button's Properties dialog, you can check the 'Locked' option in the lower-left corner. This prevents accidental changes to its layout, position, and visibility settings.