How to Fix Acrobat Radio Button Values and Form Calculations Not Working
Question details
The user needs to fix a PDF form where radio button groups are not calculating correctly, resulting in a summary field displaying 0.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating or filling out a PDF form with radio button groups and calculation fields.
- Observed behavior
- The summary calculation field displays 0 and fails to calculate the values from individual radio button groups.
Ensure you have form editing permissions for the PDF document and that JavaScript is enabled in your PDF viewer preferences.
Assign Values and Check JavaScript Console in Acrobat
Verify the radio button values and use the Acrobat JavaScript Console to identify calculation errors.
For PDF calculations to work properly, each radio button in a group must share the same field name but have a unique export value. Without export values, the calculation script treats the selection as zero.
Right-click the radio button group, select Properties, and ensure the entire group shares a single, unique field name.
In the Options tab of the Radio Button Properties, assign a specific export value (e.g., 1, 2, 3, 4) to each individual button within the group.
Go to the summary field's Properties, click the Calculate tab, and select Simplified Field Notation or a custom calculation script to reference the radio button group's field name.
Navigate to More > Debugger or press Ctrl+J to open the Acrobat JavaScript Console and review any calculation or syntax errors.

Easily Edit and Manage PDF Forms with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to easily fill, edit, and manage interactive PDF forms. It is a lightweight and efficient alternative for handling standard PDF tasks.
- 1. Open your PDF: Launch WPS Office and open your PDF form document.
- 2. Access the Form tools: Navigate to the 'Fill & Sign' or 'Edit' tab in the top ribbon to access interactive field tools.
- 3. Fill or edit fields: Click on the radio buttons or text fields to fill them out, or use the editing tools to modify the document text directly.

Frequently Asked Questions
Why is my PDF calculation field showing zero?
This usually happens if the referenced fields (like radio buttons) do not have assigned export values, or if the field names in your calculation script do not exactly match the actual field names.
How do I use Simplified Field Notation in a PDF?
In the field properties under the Calculate tab, select 'Simplified field notation' and click Edit. Enter the field names using basic math operators (e.g., Field1 + Field2) without needing full JavaScript syntax.
Can I group radio buttons in a PDF form?
Yes, to group radio buttons so that only one can be selected at a time, you must give all the radio buttons in that group the exact same Field Name, but assign each one a different Export Value.
How do I debug JavaScript in a PDF?
You can debug JavaScript in Adobe Acrobat by pressing Ctrl+J (Windows) or Cmd+J (Mac) to open the JavaScript Console, which displays execution errors and allows you to test code snippets.




