PDF Editing Issues

Create a Scored PDF Form with Choice Values in Adobe Acrobat

Anum MushtaqAnum Mushtaq Nov 18, 2026 868 views

Question details

Create a PDF form with single-choice answers assigned numeric values and a final total score.

Create a Scored PDF Form with Choice Values in Adobe Acrobat
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
A form uses choices such as Never, Sometimes, and Always for each question, with respective values of 0, 1, and 2.
Observed behavior
Each question should allow one answer, and a score field should add the selected values.
Before you start

Open the PDF in Adobe Acrobat Pro and make a list of the questions and their field names. This method uses radio buttons and a custom calculation script, so test the finished form in a PDF viewer that supports form JavaScript.

Solution 1Recommended

Use radio-button groups and a calculated score field

Use this method to assign one numeric value per answer and add the answers across multiple questions.

1
Open the form editor

In Adobe Acrobat Pro, open the PDF and select All tools > Prepare a form.

2
Create each choice group

Add three radio buttons for the first question and give them the same field name, such as Q1. Add visible labels for Never, Sometimes, and Always. Repeat for the other questions, using a different group name for each, such as Q2 and Q3.

3
Set the export values

Open each radio button's Properties and use the Options tab to set its Radio Button Choice or export value. Assign 0 to Never, 1 to Sometimes, and 2 to Always. Keep the values distinct within each group.

4
Add the score calculation

Add a text field named Score. In its Properties, open Calculate, select Custom calculation script, and choose Edit. Enter: var names = ["Q1", "Q2", "Q3"]; var total = 0; for (var i = 0; i < names.length; i++) { var f = this.getField(names[i]); if (f && f.valueAsString !== "Off") { var n = Number(f.valueAsString); if (!isNaN(n)) total += n; } } event.value = total; Change the names in the array to match all of your question groups.

5
Test the form

Select Preview in Prepare a form and choose answers in each group. Verify that only one choice is selected per question and that Score equals the sum of the selected values. Save the PDF.

Use radio-button groups and a calculated score field
Unanswered questions: The sample script treats unanswered questions as zero. If a completed form must distinguish an unanswered question from a Never answer, add separate validation.
Free Microsoft Office alternative

Review PDF Forms and Work with Office Files in WPS Office

WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and Microsoft Office format compatibility for easier migration. Use its PDF tools to open and review forms; creating the calculated Acrobat form requires a compatible form editor.

Open and review PDF forms alongside other documentsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for a smoother transition from Microsoft OfficeFree, lightweight tools for everyday office work
microsoft office alternative - wps office

Frequently Asked Questions

Why do the radio buttons for one question need the same name?

Giving the buttons the same field name makes them a single group, so the user can select only one answer for that question. Use a different name for each question.

Where do I assign 0, 1, and 2 to the answers?

In Acrobat's Prepare a form tool, open each radio button's Properties and set its Radio Button Choice or export value on the Options tab.

Why is the total not updating?

Check that the names in the Score field's Calculate script exactly match the radio-button group names. Also test the PDF in a viewer that supports PDF form JavaScript and calculations.

Does a score of zero mean every question was answered Never?

Not necessarily. The sample script also counts unanswered questions as zero. Add separate validation if respondents must answer every question.