Calculating count() from multiple options widget

  • jonsan32
    Asked on March 7, 2017 at 2:36 AM

    I really like this widget because it allows my users to select multiple options without the ambiguous holding down of command or ctrl, but I can't get the calculator widget to count how many total options have been selected. I messed around with the conditional logic and have tried several variables, but let me know if it's a limitation in the widget itself and/or if there's a workaround. Thanks.

  • Ian
    Replied on March 7, 2017 at 6:51 AM

    This can be achieved using 'Simple Multiple Choice' (Check Boxes)

    Here is the demo form I created for you https://form.jotform.com/70653219647966

    You would need Form Calculator widget along with that to count the selected options.

     

    Calculating count() from multiple options widget Image 1 Screenshot 40

    2.

    Calculating count() from multiple options widget Image 2 Screenshot 51

    3. Use Form Calculation Property to count the selected checkboxes

    Calculating count() from multiple options widget Image 3 Screenshot 62

    Hope this helps

     

  • Jon Sanders
    Replied on March 7, 2017 at 10:19 AM

    I most definitely understand that. I was wondering if I could achieve this with that particular widget. Problem is mainly my city category that has 30 options. Thanks for the reply, though. 

  • Welvin Support Team Lead
    Replied on March 7, 2017 at 12:40 PM

    Unfortunately, it's not possible to count selections from the given widget. You will need to use our regular checkbox/radio button/dropdown field to do it. 

  • jonsan32
    Replied on March 7, 2017 at 1:03 PM

    Well, darn! I was also thinking that maybe I could modify the css/js of your generic multiple choice to make it look and behave like that particular widget.

    Sucks there isn't currently a solution. I figured since I could just glance to see how many options have been chosen, I would think transferring that number to the payment field would be simple enough.

    Thanks for the response, though. Have a great day.