PDF Editing Issues

Automatically Uncheck a NONE Checkbox in an Acrobat Form

Nimra MalikNimra Malik Nov 19, 2026 869 views

Question details

Configure an Acrobat form so selecting any of four checkboxes clears a NONE checkbox.

Automatically Uncheck a NONE Checkbox in an Acrobat Form
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A PDF form has four option checkboxes and a separate NONE checkbox that should be selected by default.
Observed behavior
Selecting any of the four option checkboxes should uncheck NONE.
Before you start

Open the PDF in a version of Adobe Acrobat that can edit form fields, and confirm that the NONE checkbox field is named exactly NONE. The four option checkboxes should already exist.

Solution 1Recommended

Add a Mouse Up JavaScript action to each option checkbox

Use this action to clear NONE whenever a user selects one of the four option checkboxes.

1
Open the form editor

Open the PDF in Acrobat and select All tools > Prepare a form.

2
Set NONE as the default

Double-click the NONE checkbox, open the Options tab, and select the option to make the checkbox checked by default.

3
Add the first checkbox action

Double-click the first option checkbox. On the Actions tab, select Mouse Up as the trigger and Run a JavaScript as the action, then click Add.

4
Enter the script

In the JavaScript editor, enter: if (event.target.value != "Off") this.getField("NONE").value = "Off"; Then confirm the script and close the checkbox properties.

5
Repeat and test

Add the same Mouse Up action to each of the other three option checkboxes. Save the PDF, preview the form, and select each option to confirm that NONE is cleared.

Add a Mouse Up JavaScript action to each option checkbox
Scope of the script: This action does not automatically reselect NONE when all four options are cleared, and it does not prevent a user from manually selecting NONE alongside an option. JavaScript must be enabled in the PDF viewer for the action to run.
Free Microsoft Office alternative

Edit PDFs and Office files with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface for working with PDFs and everyday documents. Its format compatibility makes it easy to move existing Office files into your workflow. It does not replace Acrobat's form JavaScript editor for this checkbox action.

Open and edit PDF documents in a familiar workspaceCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFree and lightweight for everyday document tasksMove existing Office files into WPS Office with ease
microsoft office alternative - wps office

Frequently Asked Questions

Why does the script use the field name NONE?

The expression this.getField("NONE") identifies the checkbox to clear. If its actual field name is different, replace NONE in the script with the exact name shown in the field properties.

Will NONE be selected again when I clear all four options?

No. The Mouse Up script only clears NONE when an option is selected. Automatically reselecting NONE requires additional logic.

Why doesn't the checkbox action work in my PDF viewer?

The viewer must support and allow PDF form JavaScript. In Acrobat or Reader, check the JavaScript settings under Preferences, then test the form again.

Can users select NONE after selecting another option?

Yes. This script does not stop users from manually selecting NONE alongside an option. Preventing that combination requires an additional action on the NONE checkbox.