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

    Field values getting concatenated instead of totalled

    Asked by gradelink on July 13, 2017 at 02:32 PM

    One section of our survey correctly totals the field values; the second section is build the same way with the same conditions, but instead of totalling (e.g. 25+25=50), it concatenates them ("2525"). What are we doing wrong?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Mike_G on July 13, 2017 at 03:53 PM

    As mentioned in Step 3.1 of this guide — Conditional-Logic-Inserts-Text-Calculation-Into-A-Field, to represent the numeric value of the fields being added, please make sure that the fields are set to "0-9" in the calculation area of conditions. To fix the issue you are having in your form, please refer to the screenshot below.

    As for getting the average, please see the #1 of Other Math Functions of this guide — Form-Calculation-Math-Function-Reference

    To get the average of multiple field values, separate each field inside avg (), with a comma.

    I hope this helps. If you have other questions regarding this, please feel free to contact us again anytime.

  • Profile Image

    Answered by gradelink on July 14, 2017 at 05:40 PM

    Thank you so much. It's working.