Fix a Calculated PDF Form Value Changing in Adobe Acrobat
Question details
The user needs a calculated participant ID to remain correct after leaving a PDF form field.

- Product
- Adobe Acrobat PDF forms
- Device & OS
- not provided
- Scenario
- A participant ID is calculated in a form field, and the user moves to another field by pressing Tab or clicking.
- Observed behavior
- The ID appears correct while the field is being edited but displays a different number after the field loses focus.
Open the PDF in Adobe Acrobat and identify the field that displays the participant ID. Note the expected value and whether it includes leading zeros or decimal places.
Check the field format and decimal precision in Acrobat
Use this first when the value appears to change only after you leave the field.
In Acrobat, open Prepare a Form, then double-click the participant ID field to open its properties.
Select the Format tab and check the selected format category. If Number is selected, increase the decimal places as needed, or select None to test the value without number formatting.
Close the properties dialog, use Preview in Prepare a Form, and enter the source values. Press Tab or click another field to check whether the displayed ID stays correct.

Review the calculation and validation scripts
Check the field logic if changing the format does not resolve the discrepancy.
Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for everyday document and PDF work. Its Microsoft Office format compatibility makes it easier to move existing files into your workflow. Acrobat-specific form JavaScript and formatting should still be tested in Acrobat.

Frequently Asked Questions
Why does the number change when I press Tab?
Acrobat may apply the field's display format when it loses focus. In Prepare a Form, open the field properties and check the Format tab for number formatting and decimal precision.
How can I tell if formatting is causing the change?
In the field's Format tab, temporarily select None, then use Preview and move out of the field. If the expected value appears, review the original number format and decimal settings.
Why are leading zeros missing from a participant ID?
A script or number format may treat the ID as a numeric value, which does not retain leading zeros. Review the field's Calculate and Format tabs and handle the ID as text when leading zeros are significant.
What if the value is still wrong after I change the format?
Check the field's Calculate and Validate tabs for scripts or limits, and review More > Set Field Calculation Order in Prepare a Form. A calculation or validation action may be changing the underlying value.




