How to Hide Placeholder Text When Printing Acrobat PDF Forms
Question details
The user wants to keep placeholder text visible on the screen but hide it when printing a PDF form.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Preparing a fillable PDF form with instructional text for users, which should not appear on the final printed document.
- Observed behavior
- Placeholder text prints by default unless specific display or script settings are applied to the form fields.
Ensure you have editing permissions for the PDF form and access to the form field properties or JavaScript settings.
Use JavaScript and Field Properties to Manage Placeholders
Set up focus and blur scripts to manage the placeholder text, and adjust print settings to ensure empty placeholders do not print.
This method ensures that placeholder text appears when the field is empty, disappears when the user clicks to type, and is dynamically hidden during the printing process.
Right-click the form field, select 'Properties', go to the 'Options' tab, and enter your instructional text as the default value.
Navigate to the 'Actions' tab, select 'On Focus' from the trigger dropdown, and choose 'Run a JavaScript'. Write a script to clear the field if its current value matches your default placeholder text.
Add another JavaScript action for the 'On Blur' trigger. Write a script to restore the placeholder text if the user leaves the field empty.
Use a document-level 'Will Print' script to temporarily hide fields that contain only the placeholder text, and a 'Did Print' script to restore their visibility after printing is complete.

Set Field Visibility to 'Visible but doesn't print'
Change the display property of the text field so it appears on screen but is automatically excluded from printing.
Create and Print Pristine PDF Forms with WPS PDF
WPS Office provides robust PDF editing tools, allowing you to create fillable forms, manage field properties, and print documents exactly as you need them without unwanted placeholder clutter.
- 1. Open your PDF form in WPS Office: Launch WPS Office and open your PDF document using the WPS PDF editor.
- 2. Access Form Tools: Navigate to the 'Form' tab to view and manage all interactive fields within the document.
- 3. Adjust Field Properties: Double-click the desired text field to open its properties, where you can modify default values and visibility settings.
- 4. Print without Placeholders: Go to the Print menu and ensure your form prints clearly by leveraging WPS PDF's accurate rendering engine.

Frequently Asked Questions
Why does my placeholder text show up when I print the PDF?
By default, PDF viewers print exactly what is visible on the screen. Unless the field is specifically set to 'Visible but doesn't print' or a script dynamically hides the placeholder before printing, the instructional text will appear on paper.
Can I make only the instructional text disappear but keep user input when printing?
Yes. You can achieve this by using JavaScript to clear fields containing only the placeholder text right before printing (using a 'Will Print' script), and restoring the text immediately after the print job finishes (using a 'Did Print' script).
Does WPS PDF support editing interactive form fields?
Yes, WPS Office includes a comprehensive PDF editor that allows you to create, modify, and fill interactive PDF forms, making it an excellent and lightweight alternative for form management.
Is there a way to hide text without writing JavaScript?
If you want to hide a specific box entirely from prints, you can change its visibility property in the General tab to 'Visible but doesn't print'. However, dynamic hiding based on whether it contains a placeholder or user input typically requires scripting.




