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

    Do calculations within a form?

    Asked by hillpointprep on June 03, 2014 at 06:22 PM

    I would like to simply assign a value of 1 to all the possible answers in a checklist. I want to add those values together to get a sum (ex: they check three boxes, I get the value of 3)

    I'm trying to allow parents to choose the number of weeks they want to register for Summer Camp then have that calculate the full summer's tuition based on their number of weeks. 

    Page URL:
    http://www.jotform.com//?formID=41115514409143

    calculations check checkboxes calculation values
  • Profile Image
    JotForm Support

    Answered by jonathan on June 03, 2014 at 07:03 PM

    Hi,

    The checkboxes field have Calculation value property that you can use to create calculations base on the selected options in the checkbox

     

    then use Calculation widget to do calculate total

     

    here is a demo form http://www.jotform.me/form/41537397468468   you can test.

    Please inform us if this is not what you need.

     

    Thanks!

     

     

  • Profile Image

    Answered by hillpointprep on June 03, 2014 at 08:47 PM

    Yes! But what formula did you use to make it add up each checked box? I don't see the option. Can you actually show me the formula you used in "Number of Weeks Selected"?

  • Profile Image

    Answered by hillpointprep on June 03, 2014 at 08:49 PM

    A screen shot would work too. I just need to know how you got the "Number of Weeks" to respond and "link" to the checked boxes in the previous question field.

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 04, 2014 at 03:02 AM

    Hi,

    Values on the check box will automatically sum up, there's no special formula needed. Just insert the check box field by clicking "Add Field" on the calculation wizard and that's it. 

    Example:

    Regards!