How to calculate the total score and display a custom message based on the score?

  • Shaughnessy_Gary
    Asked on March 24, 2025 at 4:01 PM

    I have created this form that will establish an investor's personal risk tolerance

    I have assigned points to each question answer and am trying to create a summary at the end that shows their answers point total and then lists the recommended basic investment portfolio type as it's asset mix:

    (I want this to appear on end of survey + in results that are submitted

    QLO Investment Portfolios:

    Scoring grid Total score Recommendation Equity Fixed income

    0 to 5 Fixed Income Portfolio 0% 100%

    6 to 20 Conservative Inc Portfolio 25% 75%

    21 to 35 Conservative Portfolio 35% 65%

    36 to 50 Balanced Portfolio 50% 50%

    51 to 70 Moderate Growth Portfolio 60% 40%

    71 to 85 Growth Portfolio 75% 25%

    86 to 90 Equity Portfolio 100% 0%

  • Gian JotForm Support
    Replied on March 24, 2025 at 9:48 PM

    Hi Gary,

    Thanks for reaching out to Jotform Support. You can add the Form Calculation widget to your form to calculate the total score. Then, based on the score, you can display a custom on the Thank You page. Let's walk through the process:

    1. In Form Builder, click on the Add Element button.

    2. In the Form Elements window, go to Widgets.

    3. Look for the Form Calculation widget and add it to your form.

    How to calculate the total score and display a custom message based on the score? Image 1 Screenshot 50

    4. In the widget's formula, add all your questions that contain the calculation values to get their sum.

    5. Click the Save button.

    How to calculate the total score and display a custom message based on the score? Image 2 Screenshot 61

    After setting up the field that shows the score, we can add Change Thank You Page conditions. Here's how to do it:

    1. In Form Builder, click on Settings at the top of the page.

    2. Click on Conditions on the left.

    3. Select the Change Thank You Page from the options.

    How to calculate the total score and display a custom message based on the score? Image 3 Screenshot 72

    4. Here's an example condition to use:

    How to calculate the total score and display a custom message based on the score? Image 4 Screenshot 83

    Give it a try and let us know if you need any help.

Your Answer