• Global community
• Language:
• Deutsch
• English
• Español
• Français
• Português
• 日本語コミュニティ
Dedicated community for Japanese speakers
• 한국 커뮤니티
Dedicated community for Korean speakers
Exit
• I am creating a form that has twelve sections. At...

# I am creating a form that has twelve sections. At the end of each section there is a score based on questions in that section. At the end of the entire form there is a total score based on the scores of all the other questions. Is there a way to calcul

New Here ,
Jun 08, 2019 Jun 08, 2019

Copied

Is there a script to calculate a percentage for score achieved out of total score?  Thank you.

TOPICS
Acrobat SDK and JavaScript

Views

393

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Community Expert , Jun 10, 2019 Jun 10, 2019

Well, I'm assuming the maximum possible score is a fixed number, right? Let's say it's 24 and the field that contains the actual score is called TotalScore. So all you need to do is use the following as the Simple Field Notation calculation of the percentage field:

TotalScore / 24

4 Replies 4
Community Expert ,
Jun 08, 2019 Jun 08, 2019

Copied

Sure, it's just a simple division. Do you have a field that shows the total score?

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Jun 10, 2019 Jun 10, 2019

Copied

I have a field that shows total score achieved, not total score possible.  Thanks for your help.

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Expert ,
Jun 10, 2019 Jun 10, 2019

Copied

Well, I'm assuming the maximum possible score is a fixed number, right? Let's say it's 24 and the field that contains the actual score is called TotalScore. So all you need to do is use the following as the Simple Field Notation calculation of the percentage field:

TotalScore / 24

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Jun 10, 2019 Jun 10, 2019

Copied

LATEST

Thank you so much.  So simple -- I assumed it needs to be much more complicated.  Thanks again!