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

    Can I write calculations into my form? I want to add fields from multiple text boxes throughout the form

    Asked by czawodzi on July 07, 2015 at 11:24 AM

    On my form, I have multiple text boxes that will be filled out by our cooperating teachers.  They will input an N for non observable, and then either 1 - 4 for a score.  I would like to be able to add all of the 1-4 scores, then divide by the number of 1-4 scores to get the final score.  Is that possible?  I would like the teachers to see the final score without them having to work for it! Thanks so much, I love my form so far!  Cathy

  • Profile Image
    JotForm Support

    Answered by Jan on July 07, 2015 at 12:40 PM

    You can use the Form Calculation Widget to add values from one field to another. Please refer to this guide: How to perform calculation in the form?

    I created a demo form, please do check it. It has 4 text boxes (score 1-4) and then 2 calculation widgets. For total score, I used the formula (score 1 + 2 +3 + 4).

    And then for the Average ( Total Score / 4 )

    Hope this explains how the calculation widget works. Let us know if you need any help. Thank you.