PDF Editing Issues

Make One Checkbox Check Multiple Checkboxes in Adobe Acrobat

Maira MehtabMaira Mehtab Nov 19, 2026 868 views

Question details

The user wants one PDF checkbox to control multiple checkboxes or to have multiple checkboxes activate another checkbox.

Make One Checkbox Check Multiple Checkboxes in Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
The user is creating an interactive PDF form with related checkbox fields.
Observed behavior
Checking or clearing a controlling checkbox should update related checkboxes, or checking a source checkbox should activate a separate checkbox.
Before you start

Open an editable PDF form in Adobe Acrobat and choose All tools > Prepare a form. Note the exact field names and checkbox export values in each field's Properties dialog.

Solution 1Recommended

Use a controlling checkbox to update multiple checkboxes

Use a JavaScript action when one checkbox should check or clear a numbered group of fields.

This example uses a separate controlling checkbox and seven target fields named Check Box1 through Check Box7. The script reads the controlling field's value and applies its state to the targets.

1
Name the target fields

In All tools > Prepare a form, open each target checkbox's Properties and set its name to Check Box1, Check Box2, and so on through Check Box7. Keep the controlling checkbox under a different name.

2
Add a JavaScript action

Open the controlling checkbox's Properties, select Actions, choose Mouse Up as the trigger and Run a JavaScript as the action, then click Add.

3
Enter the script

In the JavaScript editor, enter: for (var i = 1; i <= 7; i++) { this.getField("Check Box" + i).checkThisBox(0, event.target.value == "Off" ? false : true); } Change the field-name prefix and number range to match your form, then confirm and close Properties.

4
Test both states

Close form editing or select Preview, then check and clear the controlling checkbox. Confirm that every target follows it and that the PDF viewer permits JavaScript.

Use a controlling checkbox to update multiple checkboxes
Check the action timing: Checkbox action timing can affect the value read by a Mouse Up script. If the targets follow the previous state instead of the current state, review the event timing and script in Acrobat before distributing the form.
Free Microsoft Office alternative

Work with PDFs and Office files in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Office formats, making it easy to move everyday documents into WPS. Its PDF tools provide an alternative for viewing and editing PDFs, but they do not replace the Acrobat JavaScript setup described above.

Open and work with PDF documents alongside Office filesCompatible with Microsoft Word, Excel, and PowerPoint formats such as DOCX, XLSX, and PPTXUse a familiar interface for a smoother transition from Microsoft OfficeStart with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Where do I add JavaScript to an Acrobat checkbox?

Choose All tools > Prepare a form, open the checkbox's Properties, and go to Actions. Select Mouse Up and Run a JavaScript, then click Add.

How do I adapt the script for a different number of checkboxes?

Change the loop limit from 7 to the number of target fields and replace the Check Box prefix with the exact prefix used in your form. The target names must match the names generated by the script.

Can the separate checkbox turn on only when all source boxes are checked?

Yes. That requires different logic from the one-way Mouse Up action. A hidden text field with a custom calculation script can check the source fields and update the target based on whether all are selected.

Why does the controlling checkbox appear to update targets one click late?

The Mouse Up action may be reading the checkbox value before the new state is available. Test the form in Acrobat and review the event timing and script rather than assuming the target field names are the only issue.