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

  • Profile Image
    Asked 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
    Answered 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.