• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

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

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript

Views

143

Likes

Translate

Translate

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 guidelines

correct answers 1 Correct answer

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

Likes

Translate

Translate
Community Expert ,
Jun 08, 2019 Jun 08, 2019

Copy link to clipboard

Copied

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

Likes

Translate

Translate

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 guidelines
New Here ,
Jun 10, 2019 Jun 10, 2019

Copy link to clipboard

Copied

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

Likes

Translate

Translate

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 guidelines
Community Expert ,
Jun 10, 2019 Jun 10, 2019

Copy link to clipboard

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

Likes

Translate

Translate

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 guidelines
New Here ,
Jun 10, 2019 Jun 10, 2019

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

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 guidelines