-
mysafespaceinfoDomanda del 27 febbraio 2024 alle ore 13:51
Ciao, per il quiz che ho creato necessiterei di togliere punti quando una persona seleziona alcune risposte nel quiz. Come fare?
-
Deanne Jotform SupportRisposta del 27 febbraio 2024 alle ore 15:01
Hi mysafespaceinfo,
Thanks for reaching out to Jotform Support. Unfortunately, our Italian Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Italian, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, let me help you with your question. Subtracting from the score when a form filler gives a wrong answer is possible by using Conditions. Let me show you how:
1. In Form Builder, add a new form element under the Basic tab. For this demo form, I'll be using Single Choice.
2. Once added, click on the gear icon to open the Single Choice Properties panel on the right side of the screen.
3. Under the Options tab, toggle on the Calculation Values. This is to let us set a value for each choice so it will be easier for us to subtract from the score.
4. After the Calculation Values option is toggled On, just below it, you can assign values to them. For this example, choice 1 is my correct answer so I've set it to the value of 1. Choices 2, 3, and 4 are my wrong answers so I've set them to -1. Do this to all the other questions, setting the correct answer to 1 and wrong answers to -1.
5. Add another field to store the score. In my case, I used a Short Text basic element.
6. After all of those are set, you can now add a Condition to get the total score. In the same window, click on Settings in the orange navigation bar at the top of the page.
7. On the left-side panel, click on Conditions.
8. Click on +Add condition and choose Update/Calculate Field.
9. Copy the formula below:
And that's it. The screencast below is my sample result. My correct answers are options 1 and A. As you can see, when I have both correct answers, my score will be 2, but when I get a wrong answer, I get 0. When I have both answers wrong, I get a negative score.
You can also check my demo form to see how it's set up or you can clone it if you want.
Give it a try and let us know if you have any other questions.