Test / Quiz Submission: Shows me the answer if it is correct or not

  • sprivitor
    Asked on June 19, 2018 at 8:57 PM

    Hello - I see that I can use the calculated fields to set the correct answer to a form to 1 and all the incorrect answers to zero.  I do not want the user to see the calculation, but when the form is submitted, I'd like to see the calculation value for each question.


    Basically I'm trying to get the email that shows me their answers and whether or not their answers are correct.


    Thaanks!

  • Jan
    Replied on June 19, 2018 at 10:02 PM

    You can add a Short Text Entry field below each question that will serve as the placeholder for the result of each of question. You can hide it if you like to.

    152945973806 20 k3188 Screenshot 10

    After inserting a Short Text Entry field, you need to create a condition wherein that field will be updated based on the answer.

    You can use the "Update / Calculate Field" condition for that. Here's a guide on how to use that condition: https://www.jotform.com/help/268-How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic.

    152945995406 20 a36ee Screenshot 21

    So basically, you need to create 2 conditions for each question. One for the correct answer and another one for the incorrect answer.

    Here's the result:

    1529459760result quiz Screenshot 32

    152946011706 20 l2gq3 Screenshot 43

    Hope that helps. Thank you.