Is it possible to give 0 point if answer is wrong?

  • hiYoonet
    Asked on May 8, 2024 at 3:54 AM

    Hi, would it be possible to give 0 points if the user doesn't select all the possible choices?

    Please check this form.

    We tried doing it by setting conditions but as a result, the check boxes couldn't be clicked. Thank you.

  • Waqas JotForm Support
    Replied on May 8, 2024 at 4:17 AM

    Hi Yoonet,

    Thanks for reaching out to Jotform Support. I checked your form, and it appears that your first two questions are set to values of 0.33, which will not make your result zero. And, yes, if someone submits an exam with zero-valued fields, the results will be zero.

    Check out this guide on How to Assign Calculation Values

    Give it a try and reach out again if you have any other questions.

  • hiYoonet
    Replied on May 8, 2024 at 8:00 PM

    Hi Waqas, thanks for the quick reply.

    For our first two questions, and the other questions with multiple answers possible, we set the calculation values to 0.33, our logic behind that is if the user selects all the three correct options (he will get 1 point).

    Also, even though the calculation value is set to "0.33" will it be possible to calculate it as 0 if the user doesn't select all the correct answers? (We tried doing it by setting conditions but as a result, the check boxes couldn't be clicked) - I will re-enable this condition on Question #1 so you would see it. Thank you.




  • Rose JotForm Support
    Replied on May 8, 2024 at 11:06 PM

    Hi Yoonet,

    Thanks for getting back to us. We can achieve your goal by adding a Number field which will be the point basis of a multiple choice field. We can set a default value of 0 to it and it will only change to the value of 1 if the 3 correct answers are selected. Let me walk you through:

    • As mentioned above, the first step is to add a Number element below the Multiple Choice field. You can hide it.

    Is it possible to give 0 point if answer is wrong? Image 1 Screenshot 50

    • Set the default value to 0.

    Is it possible to give 0 point if answer is wrong? Image 2 Screenshot 61

    • Using the example calculation condition below, you can change the default value of the Number field from 0 to 1 if all answers are selected:

    Is it possible to give 0 point if answer is wrong? Image 3 Screenshot 72

    You can repeat the steps for each multiple choice field and use the Number field value in the calculation widget (Result) below your form.

    Here's the output:

    Is it possible to give 0 point if answer is wrong? Image 4 Screenshot 83

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

  • hiYoonet
    Replied on May 9, 2024 at 7:18 PM

    Hi Rose, that worked! Thanks a lot!!

 
Your Answer