PDF Editing Issues

Show or Hide a PDF Page with an Adobe Acrobat Checkbox

Steven ParkerSteven Parker Nov 24, 2026 868 views

Question details

Determine whether a checkbox in an Acrobat form can dynamically show or hide an entire PDF page.

Show or Hide a PDF Page with an Adobe Acrobat Checkbox
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A PDF form needs to display different content depending on whether a user selects a checkbox.
Observed behavior
The desired result is for a checkbox to control the visibility of a whole page.
Before you start

Open the PDF in Adobe Acrobat and check that you can edit its form fields in Prepare a form. Confirm that JavaScript is enabled in Acrobat preferences and that the PDF's security settings allow the intended changes.

Solution 1Recommended

Use a checkbox to show or hide a form field

Use this workaround when controlling individual form fields is sufficient; it does not hide the PDF page itself.

Acrobat does not provide a simple checkbox setting that hides an entire existing page. Page-template approaches may add or remove pages in some forms, but they depend on the PDF structure, permissions, and viewer support.

The following action hides one named form field, not static page text or images. The page remains in the document and may appear blank.

1
Name the field

Open All tools > Prepare a form, select the field to control, and open Properties. On the General tab, set its name to Details.

2
Open checkbox actions

Select the checkbox, open Properties, and choose the Actions tab. Set the trigger to Mouse Up and the action to Run a JavaScript, then click Add.

3
Add the visibility script

In the JavaScript editor, enter: this.getField('Details').display = event.target.isBoxChecked(0) ? display.visible : display.hidden; Then confirm and close the properties dialog.

4
Test the checkbox

Click Preview in Prepare a form and select and clear the checkbox. Confirm that the Details field appears and disappears as intended.

Use a checkbox to show or hide a form field
Viewer support varies: Test the saved PDF in the viewer your recipients will use. Some PDF viewers do not support Acrobat JavaScript, and document security settings can restrict form behavior.
Free Microsoft Office alternative

Work with PDFs and Office files in WPS Office

WPS Office is a free, lightweight alternative for working with PDFs and Office documents. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files into your workflow; it does not change Acrobat's page-visibility behavior.

Open and review PDF documents alongside office filesCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFamiliar interface for a smooth transition from Microsoft OfficeFree, lightweight office suite for everyday document work
QA img-9

Frequently Asked Questions

Can an Acrobat checkbox hide a whole PDF page?

There is no simple checkbox property that hides an entire existing page. Some forms use page templates and JavaScript to add or remove pages, but this depends on the PDF structure, permissions, and viewer support.

Can I hide several fields with one checkbox?

Yes. In Prepare a form, open the checkbox's Properties > Actions and add JavaScript that sets each named field's display property. This affects form fields, not static page content.

Why does the page remain visible after I hide its fields?

The field display property changes only the form field's visibility. It does not remove the page or hide text and images already embedded in it.

Why does the checkbox script work in Acrobat but not another PDF viewer?

PDF viewers differ in their support for Acrobat JavaScript. Check the viewer's JavaScript settings and test the saved form in the application recipients will use.