Why Adobe Acrobat Reader Cannot Show or Hide PDF Template Pages
Question details
The user wants PDF template pages to appear or disappear through JavaScript in Adobe Acrobat Reader.

- Product
- Adobe Acrobat Reader
- Device & OS
- not provided
- Scenario
- A PDF form uses Acrobat JavaScript to manipulate template pages and must also work for Reader users.
- Observed behavior
- Template operations that work in Acrobat Pro may fail in Reader because of method or document-rights restrictions.
Identify the template methods used by the form and the version of Acrobat Reader your audience uses. Have access to the original PDF and Acrobat Pro so you can inspect the form's JavaScript and test changes.
Check Reader support and redesign the template workflow
Use this approach when a template script works in Acrobat Pro but fails in Acrobat Reader.
Acrobat Reader does not support every template manipulation method available in Acrobat Pro. Reader support and any required document rights must be checked for each operation.
Open the PDF in Acrobat Pro and use All tools > Use JavaScript to inspect the document and form-field scripts. Identify calls that show, hide, spawn, or delete template pages.
Search Adobe's Acrobat JavaScript API Reference for each template and page-manipulation method. Check its Reader availability, privilege requirements, and any usage-rights conditions.
In the form's JavaScript, consider spawning a hidden template when the user needs it and deleting the spawned page when it is no longer needed. Use this approach only if both operations are supported in the target Reader version and the document has any required rights.
Open the revised PDF in the target version of Acrobat Reader and activate the form controls that add and remove pages. Check the JavaScript console for errors if it is available in that installation.

Use WPS Office for Everyday PDF and Office Documents
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office documents. Its format compatibility can make migration straightforward, but it does not fix Adobe Reader's template JavaScript restrictions.

Frequently Asked Questions
Why does my template script work in Acrobat Pro but not Reader?
Reader restricts some template and page-manipulation methods. Look up each method in Adobe's Acrobat JavaScript API Reference and check its Reader availability and required rights.
Can Reader spawn a hidden PDF template page?
It may be possible when the specific method is supported and the document has any required rights. Check Adobe's documentation for the target Reader version and test the actual PDF in Reader.
Can I delete a spawned page in Reader?
Do not assume page deletion is permitted. Check the page-deletion method's Reader compatibility and rights requirements in Adobe's Acrobat JavaScript API Reference, then test it in the target viewer.
Will WPS Office fix an Acrobat Reader template script?
No. WPS Office is an alternative for everyday PDF and Office document work; it does not change Reader's JavaScript permissions. Test any interactive form in the viewer it is intended for.




