Calculate Radio Button and Checkbox Values in Adobe Acrobat Forms
Question details
Calculate a form result from the selected values of radio buttons and checkboxes without writing custom JavaScript.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A PDF form contains radio buttons and checkboxes whose selected values need to be combined in a result field.
- Observed behavior
- The result field should calculate a total from numeric export values assigned to the selected form controls.
Open the PDF in a version of Adobe Acrobat that supports editing forms, and identify the exact field names for the radio button group and checkboxes. Decide which numeric value each selection should contribute.
Use Simplified Field Notation to calculate form values
Assign numeric export values to the controls and enter a formula in the result field without writing custom JavaScript.
Open the PDF in Acrobat and select All tools > Prepare a form. Select the existing form if prompted.
Open Properties for each radio button and checkbox, then use the Options tab to assign a numeric export value. Give each radio button choice in the group its intended value.
In each control's Properties, check the Name on the General tab. Use the radio button group name and each checkbox field name in the calculation.
Open the result text field's Properties and select Calculate > Simplified field notation > Edit. Enter a formula such as (Radio1 + CheckBox1 + CheckBox2) * 0.15, replacing the example names with your form's field names.
Close the form editor or preview the form, select different radio buttons and checkboxes, and check the result field. Also test with checkboxes cleared and verify that the totals are correct.

View PDF Forms and Work with Office Files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office files. Its format compatibility makes it easy to bring existing documents into your workflow; use Adobe Acrobat to configure the calculation described above.

Frequently Asked Questions
Where do I set a checkbox's numeric value in Acrobat?
Select All tools > Prepare a form, open the checkbox's Properties, and set its export value on the Options tab.
Which field name should I use for a radio button group?
Use the group's field name in the formula. Check the Name on the General tab of the radio button's Properties, and assign the individual choices their numeric export values on the Options tab.
Do I need to write JavaScript for this calculation?
Not for the example formula. In the result field's Properties, choose Calculate > Simplified field notation > Edit and enter the expression with your actual field names.
What should I check if the result is incorrect?
Check the numeric export values on each control's Options tab and confirm that the field names in the formula match those on the General tab. Then test selected and cleared checkboxes and each radio button choice.




