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

    How to perform calculations on a form?

    Asked by VictoryBoosting on May 24, 2017 at 03:34 PM

    I want to find the sum of the results of two fields and multiply that with the result of another field. Is that possible?

     

  • Profile Image
    JotForm Support

    Answered by Jim_R on May 24, 2017 at 05:09 PM

    Yes this should be achievable with Conditions and Calculations. You just need to apply your computation on the condition you're creating.

    Here's an example form https://www.jotform.com/71436967186974 and below are the conditions that used:

    Logic:

    IF Number 1 field IS FILLED AND Number 2 field IS FILLED

    THEN INSERT the total to Sum of 1 and 2 field

    IF Sum of 1 and 2 field IS FILLED

    THEN INSERT the product to Product of Total X Number 3 field

    Related guides: 

    Smart-Forms-Using-Conditional-Logic

    Conditional-Logic-Inserts-Text-Calculation-Into-A-Field

    How-to-Perform-Form-Calculation-Using-a-Widget

    You may clone the form I created if you want to better understand how it was setup.