Skip to main content
kellyb43936692
Participant
December 28, 2016
Answered

Assigning a value and a choice to a field?

  • December 28, 2016
  • 2 replies
  • 529 views

Is there a way to make an answer a choice and assign it as a value to be totaled at the end.  For example, if I am asking:

Never (0)Sometimes (1)Always (2)
Are you happy?x
Do you exercise?x
Do you get 8 hours of sleep?x

Total3

So a person needs to pick only one choice and then that choice needs to be assigned a value that needs to be totaled in a separate field.

Thanks!

This topic has been closed for replies.
Correct answer try67

Use radio-button (or check-boxes) form fields.

The fields in each row need to have the same field name but different radio-button choice (or export values).

Those values can be the numeric values that you want to use for the calculation.

Then you add a "Score" text field and set its calculation to be the sum of these fields.

2 replies

JR Boulay
Community Expert
Community Expert
December 28, 2016

Hi.

According to try67 answer see this great demo PDF file: Fichiers partagés - Acrobat.com

You'll just have to copy-paste fields into your form.

Acrobate du PDF, InDesigner et Photoshopographe
kellyb43936692
Participant
December 28, 2016

Thank you for your follow-up.  Your example was very helpful to make sure I was entering everything in correctly.  I really appreciate it!

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
December 28, 2016

Use radio-button (or check-boxes) form fields.

The fields in each row need to have the same field name but different radio-button choice (or export values).

Those values can be the numeric values that you want to use for the calculation.

Then you add a "Score" text field and set its calculation to be the sum of these fields.

kellyb43936692
Participant
December 28, 2016

Thank you for your reply.  I was able to use your advice to see what I was doing wrong!  I really appreciate it!