How to count options that are selected in Multiple Choice Field?

  • monteclinfestichiens
    Demandé le 27 juillet 2024 à 09:15

    Bonjour

    J'aimerais créer une section qui me permet de compter le nombre champs selectionné

    How to count options that are selected in Multiple Choice Field? Image 1 Screenshot 20

    Number : 3

    Merci

  • Angelica Jotform Support
    Répondu le 27 juillet 2024 à 11:52

    Hi monteclinfestichiens,

    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 going back to your question, you can add Form Calculation widget in your form to count the number of selected fields in the Multiple Choice Field. It's really easy. Let me show you how:

    1. In Form Builder, click on Add Form Element+.
    2. Select the Widgets tab and add or drag Form Calculation widget in your form.
    3. Set the formula by clicking f(x), search count, and add the Multiple Choice field.
    4. Click on Save. How to count options that are selected in Multiple Choice Field? Image 1 Screenshot 30

    Here's the result:

    How to count options that are selected in Multiple Choice Field? Image 2 Screenshot 41

    You can also clone my demo form for your reference. You might also want to check out this guide about How to Perform Calculations Using a Widget.

    Give it a try and let us know how it goes.