What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Calculating count() from multiple options widget

    Asked by jonsan32 on March 07, 2017 at 02: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.

    Page URL:
    https://form.jotform.com/70651266919968

  • Profile Image

    Answered by Ian on March 07, 2017 at 06: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.

     

    2.

    3. Use Form Calculation Property to count the selected checkboxes

    Hope this helps

     

  • Profile Image

    Answered by Jon Sanders  on March 07, 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. 

  • Profile Image
    JotForm Support

    Answered by Welvin on March 07, 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. 

  • Profile Image

    Answered by jonsan32 on March 07, 2017 at 01: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.