Calculate the total score and use conditions to display a message

  • Nicola Mansfield
    Asked on April 4, 2025 at 3:11 AM

    I have attributed scores to each multiple choice answer in the advanced settings of the form builder.

    I can't get the Multiplicand setting in IF as shown in your screen grabs.

    But I am trying to produce a tally of the scores from the answered questions to produce a pre-written recommendation. How do I do this?

    Thanks

  • Mahmoud JotForm Support
    Replied on April 4, 2025 at 7:58 AM

    Hi Nicola, 

    Thanks for reaching out to Jotform Support. If you want to display the total value of the answered question, you can use the calculation widget. Let me show you how:

    1. In Form Builder, click on the Add Element menu on the upper left side of the page.
    2. Click on the Widgets tab, and click on the Form Calculation widget to add it to your form.
    3. Add a calculation as you can see below

    Calculate the total score and use conditions to display a message Image 1 Screenshot 80

    You can see the result in the screencast below:

    Calculate the total score and use conditions to display a message Image 2 Screenshot 91

    If you want to display a message based on the score result, you can add a paragraph field with the message and use the Hide/Show conditions to show the message based on the score. Let me show you an example:

    Add a paragraph field to your form and edit the message you need:

    1. In Form Builder, click on the Add Element menu on the left side of the page and drag and drop a Paragraph field to your form.
    2. Click on the Pencil icon on the right side of the field and add your message. 
    3. Finally, click on the Encircled Checkmark icon on the right side of the field. And that’s it, you’re done.

    Calculate the total score and use conditions to display a message Image 3 Screenshot 102

    Now, you can add the condition to show the proper message based on the score:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.

    2. Click on Conditions on the left of the page.

    3. Now, click on Add a New Condition and then click on Show/Hide Field.

    Calculate the total score and use conditions to display a message Image 4 Screenshot 113

    4. Set the conditions like you see below:

    Calculate the total score and use conditions to display a message Image 5 Screenshot 124

    Calculate the total score and use conditions to display a message Image 6 Screenshot 135

    Take a look at the screencast below to see the conditions and how they appear:

    Calculate the total score and use conditions to display a message Image 7 Screenshot 146

    Give it a try and let us know how it goes.

  • Nicola_Mansfield
    Replied on April 4, 2025 at 11:17 PM

    Where does it show how to use the calculation widget?

  • Jefferson JotForm Support
    Replied on April 5, 2025 at 8:24 AM

    Hi Nicola, 

    You're right, and I can see where the confusion might be. The previous steps mentioned using the Form Calculation widget, but it looks like the detailed setup instructions weren't included. Here's how to do it:

    1. In Form Builder, click on the Add Element on the left side of the page.
    2. Click on the Widgets tab.
    3. Add a Form Calculation widget to your form and rename it as Score. Calculate the total score and use conditions to display a message Image 1 Screenshot 40
    4. Click on the wand icon to open the Form Calculation Widgets window.Calculate the total score and use conditions to display a message Image 2 Screenshot 51
    5. Copy the formula like in the screenshot below.
    6. Click on the Save button.Calculate the total score and use conditions to display a message Image 3 Screenshot 62

    This widget will now automatically calculate the total score based on your user’s selections. After setting that up, you can follow the rest of the steps my colleague shared to show specific recommendation messages using Show/Hide conditions based on the final score from this calculation.

    Let us know if there’s anything else we can help you with. 

Your Answer