How can I create a form that calculates the total of choices matching a specific criteria?

  • Dana
    Asked on October 30, 2020 at 4:20 PM

    I am trying to create a quiz of just yes/no questions for a website I am designing, but I want it to show the amount of yes's and/or no's that the person answered at the end of the quiz.

    thanks

  • Simon_L
    Replied on October 30, 2020 at 7:27 PM

    Hello Dana,

    This is possible with JotForm, but unfortunately, it would be a bit complicated.

    What would have been perfect in your case is a "count" function that could allow you to count the number of options matching a certain value.

    This function exists in JotForm Tables, but I do not think there would be an easy way to achieve the same result within the form, in order to display the total of Yes/No to the user.

    Still, you could use our Form Calculation widget and logical conditions. Adding a Form Calculation widget below each question would allow you to calculate the score based on the user's answer, then when all of the questions are filled out (this trigger would be detected by a condition), you could calculate the final score.

    Let me know if you would like us to add your idea to our feature requests. I am sure it would be useful to many users.

    Thank you!

    Related Guides: