PDF Editing Issues

Fix an Acrobat Checkbox That Does Not Clear a Text Field

Jason MillerJason Miller Nov 19, 2026 868 views

Question details

Make a dependent text field clear when its checkbox is deselected or the PDF form is reset.

Fix an Acrobat Checkbox That Does Not Clear a Text Field
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A fillable PDF should display “See Below” in a text field only while a checkbox is selected.
Observed behavior
The text remains after the checkbox is cleared and after Clear Form is used.
Before you start

Open the PDF in Acrobat and use Prepare a Form to identify the exact checkbox and text field names. Check the checkbox export value and whether the existing script is attached to a field calculation or a checkbox action.

Solution 1Recommended

Calculate the text field from the checkbox state

Use a custom calculation on the dependent text field to set or clear its value whenever the form recalculates.

1
Open the form fields

In Acrobat, open the PDF and select All tools > Prepare a form. Double-click the checkbox to inspect its name and export value.

2
Open the text field calculation

Double-click the dependent text field, select the Calculate tab, choose Custom calculation script, and select Edit.

3
Add the calculation script

Enter: event.value = ""; if (this.getField("Checkbox1").valueAsString !== "Off") event.value = "See Below"; Replace Checkbox1 with the exact checkbox field name, then select OK.

4
Remove conflicting actions

Inspect the checkbox's Actions tab and the text field's other scripts. Remove or revise any action that independently sets the text and conflicts with the calculation.

5
Enable calculations and test

In Acrobat Preferences > Forms, enable Automatically calculate field values. Save the PDF, select and clear the checkbox, and use the form's Clear Form control to test the result.

Calculate the text field from the checkbox state
Check reset defaults: A form reset restores field defaults. If the checkbox is selected by default, the calculation can display “See Below” again; check the checkbox properties and reset behavior.
Free Microsoft Office alternative

View PDF Forms and Work With Office Files in WPS Office

WPS Office is a free, lightweight alternative for viewing PDFs and working with Office documents in a familiar interface. It offers a straightforward way to move between common file formats, but it does not repair Acrobat's form calculation scripts.

Open and view PDF forms alongside other documentsCompatible with Microsoft Office formats such as DOCX, XLSX, and PPTXFamiliar interface makes it easy to transition from Microsoft OfficeFree, lightweight tools for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Why does the text remain after I clear the checkbox?

A script that only assigns “See Below” when the checkbox is selected may never assign an empty value when it is cleared. Set event.value to an empty string before checking the checkbox in the text field's custom calculation.

Where should I put the calculation script?

In Acrobat's Prepare a Form tool, open the dependent text field's properties and go to Calculate > Custom calculation script > Edit. A checkbox Mouse Up action alone may not handle every form reset or recalculation.

How do I find the checkbox field name?

In Prepare a Form, double-click the checkbox and check its name in the field properties. Use that exact name in this.getField(), including capitalization.

Why does the text return after I reset the form?

Resetting a form restores field defaults. Check whether the checkbox is selected by default and whether another field action or script sets the text after the reset.