How can I count the checkboxes in the form?

  • Profile Image
    abcmississippi
    Asked on July 03, 2019 at 11:03 AM

    Hi, I am building out an application for Safety Awards and when it gets to the part about Safety Evaluation the applicant goes through and places an X beside all items that apply to their company. Part of the judging process is the taking the total number of Xs checked into consideration. In the paper form they went through and manually added these up (often incorrectly) and input on the last page. this is the first year we're doing it online so I am wondering if there is a way to electronically "count" the number of Xs checked on these items with some sort of condition or maybe using a widget of sorts? Link to form is below... it is a work in process but wanted to go ahead and ask the question before getting too much further along.

  • Profile Image
    BJoanna
    Answered on July 03, 2019 at 12:51 PM

    You can use the count() math function. 

    Form Calculation - Math Function Reference

    How to Perform Form Calculation Using a Widget

    1562172550count.PNG

    Here is a demo form - https://form.jotform.com/91835217325962

    Feel free to test it and clone it

  • Profile Image
    abcmississippi
    Answered on July 03, 2019 at 01:18 PM

    You are awesome! Thank you!

  • Profile Image
    abcmississippi
    Answered on July 03, 2019 at 01:26 PM

    How do I make it read only where they can't edit it? Hide it and pass value to text field?
  • Profile Image
    Mike_G
    Answered on July 03, 2019 at 03:09 PM

    To avoid confusion, I have moved your recent concern to a new thread.

    https://www.jotform.com/answers/1879259

    If you have any follow-up questions about your new concern, please do not hesitate to let us know in the new thread. We will be responding to you there soon.

  • Profile Image
    abcmississippi
    Answered on July 03, 2019 at 04:37 PM

    Ok, I have it all setup with the widget counting but can only seem to get through N... is there a limit? Let me know what I need to do here. And, will check new thread for other item!


    https://www.jotform.com/build/91835661480159

  • Profile Image
    Welvin
    Answered on July 03, 2019 at 06:55 PM

    You probably fail to save that. I did that for you, and that seems to have worked. Can you check again?

    15621944902019-07-04-002.png