Automatically Update a PDF Form Field in Adobe Acrobat
Question details
Automatically update the AutoSignificance PDF text field based on score ranges in the Total field.

- Product
- Adobe Acrobat PDF forms
- Device & OS
- not provided
- Scenario
- A calculated Total field determines the text shown in an AutoSignificance field.
- Observed behavior
- The AutoSignificance script updates only after the user manually enters or exits a field.
Open the PDF in Adobe Acrobat and confirm the exact field names and the score ranges you want to use. Make sure you can edit the form fields in Prepare a Form.
Calculate AutoSignificance whenever Total changes
Place the range-checking script in the dependent field so Acrobat runs it during form recalculation.
In Adobe Acrobat, open the PDF and select All tools > Prepare a form. Double-click the AutoSignificance text field to open its properties.
On the Calculate tab, select Custom calculation script and click Edit. Read Total with this.getField("Total").value and assign the matching label to event.value. For example: var raw = this.getField("Total").valueAsString; var score = Number(raw); event.value = raw === "" || !isFinite(score) || score < 0 ? "" : score < 10 ? "Low" : score < 20 ? "Medium" : "High";
In Prepare a form, open More > Set Field Calculation Order and make sure Total is calculated before AutoSignificance. Save the PDF.
Exit form editing and change the fields that contribute to Total. Check that AutoSignificance updates to the expected label without manually entering or exiting that field.

Commit drop-down selections immediately
Use this setting when a drop-down selection contributes to Total and dependent calculations do not update until the field loses focus.
Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office documents. Its format compatibility helps you move existing files into your workflow. Use Adobe Acrobat to configure the custom PDF calculation script described above.

Frequently Asked Questions
Where should the AutoSignificance script go?
In Acrobat, select All tools > Prepare a form, open the AutoSignificance field properties, and add it under Calculate > Custom calculation script. Assign the resulting text to event.value.
Why does the result update only after I leave a drop-down field?
The selection may not be committed until the field loses focus. Open the drop-down's properties in Prepare a form and enable Commit selected value immediately on the Options tab.
What if AutoSignificance shows the previous Total value?
In Prepare a form, choose More > Set Field Calculation Order and move Total before AutoSignificance so the dependent field reads the updated score.
Will the example score ranges match my form?
Not necessarily. The example uses 0–9, 10–19, and 20 or more. Edit the thresholds and labels in the Custom calculation script to match your form's scoring rules.




