Simple Calculation Using Widget

  • coachjohnstjohn
    Asked on May 12, 2025 at 4:17 PM

    Followed your instructions.

    The problem is in the final form field not calculating total scores of prior question values.

    In the widget, I placed the (+) operator before. Did not work. After questions. Did not work.

    Why isn't the total's field calculating at the end of the form, when each option is selected to only one option can be selected on each question?


  • Podo: Support AI Agent
    Replied on May 12, 2025 at 4:17 PM

    Hi John St. John,

    Thanks for reaching out to Jotform Support. I'm an AI assistant. I'll do my best to help you until someone from the support team is available.

    It seems the total field is not calculating because the calculation values might not be properly assigned to each option in your questions. To fix this, make sure you assign numeric calculation values to each option in your single-choice fields.

    Here’s how to do it:

    1. Select each single-choice question in your form builder.
    2. Open the field's Properties by clicking the Gear icon.
    3. Go to the Options tab and toggle on Calculation Values.
    4. Enter numeric values for each option corresponding to their score.
    5. Add a Form Calculation widget at the end of your form.
    6. Open the widget's formula editor by clicking the wand icon.
    7. Build a formula that sums the values of your questions (e.g., add each question's field).
    8. Save the formula and test your form.

    Ensure the (+) operator is used between fields in the formula. The calculation will then update the total field correctly when options are selected.

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

    Best regards,

    Jotform Support

  • coachjohnstjohn
    Replied on May 12, 2025 at 4:18 PM

    Write the formula for me please.

  • Podo: Support AI Agent
    Replied on May 12, 2025 at 4:18 PM

    Hi John St. John,

    Here’s a simple formula you can use in the Form Calculation widget to sum your question values:

    {Question1} + {Question2} + {Question3} + ... + {QuestionN}

    Replace {Question1}, {Question2}, etc., with the actual field names of your single-choice questions. Make sure each question has calculation values assigned as numbers.

    This formula will add the values of all selected options and show the total in the calculation field.

    Give it a try.

    Best regards,
    Jotform Support

  • Mary Eden JotForm Support
    Replied on May 13, 2025 at 4:18 AM

    Hi John St. John,

    Thanks for reaching out to Jotform Support. I can see that you have successfully added the formula within the Form Calculation widget correctly. I also tested it, and it calculates the total score just fine. Check out the screencast below to see my results:

    Simple Calculation Using Widget Image 1 Screenshot 20 Could you check on your end how it goes and confirm if everything is working as expected?

    Reach out again if there’s anything else we can help you with.

Your Answer