Form Calculation Widget: How do I correctly add all the values?

  • Tourisme_marketing
    Demandé le 19 février 2024 à 16:00

    Bonjour,

    Je suis en train de faire un formulaire de type « quiz » et j'aimerais calculer les points de participants. Pour la bonne réponse, j'ai assigné une valeur de 1, pour les mauvaises réponses, j'ai assigné une valeur de 0.

    J'aimerais avoir un champ « total » qui fera l'addition des valeurs de calcul de chacune de mes questions. (1 point pour une bonne réponse, 0 pour une mauvaise réponse) Lorsque j'essaie d'ajouter le widget «calculatrice pour formulaire» ça me donne une réponse comme celle-ci lorsque je fais des tests : 1+0+1+1, au lieu de me donner une addition.

    Pouvez-vous m'aider Form Calculation Widget: How do I correctly add all the values? Image 1 Screenshot 20

    Merci!

  • Neil Jotform Support
    Répondu le 19 février 2024 à 16:22

    Hi Tourisme_marketing,

    Thanks for reaching out to Jotform Support. Unfortunately, our French 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 French, 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. I'm sorry if you're having difficulties with this. I cloned your form to test it, and I easily replicated the issue. There is an easy fix for this, we just need to click on the plus sign to turn it into numbers. Let me show you how:

    1. In Form Builder, select the Form Calculation widget and click on the wand icon to open its settings.
    2. Click all the plus signs (addition) to turn it into numbers.
    3. Lastly, click Save.

    Form Calculation Widget: How do I correctly add all the values? Image 1 Screenshot 30

    That's it. Here's the result:

    Form Calculation Widget: How do I correctly add all the values? Image 2 Screenshot 41

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