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 Can I Create Multiple Calculations using Multiple Fields?

    Asked by theorganicninja on March 01, 2015 at 07:45 PM

    Hello!  

    How can I use the calculation widget to create the following effect on my form:

    Product Field:  <customer inputs number of products desired, ex. "4">

    Product Cost Field:  <populates/displays cost of item given above quantity, ex. 4 x $20, displays "$80">

    Total Cost Calculation:  <displays all calculations from all Product Cost Fields, ex. "$10000000">

     

    Thank you for your help and patience!  I'm still finding my way through Jotform.  

     

    ~Lost in Calculation

    Page URL:
    theorganicninja.com

  • Profile Image

    Answered by mayur5478 on March 01, 2015 at 10:32 PM

    Create a form as follows : 

    where Product A and Product B are the two products.Product A cost ,Product B cost and Total Product Cost are the three form calculation widgets used . 

    After inserting form calculation widget in your form , calculation wizard will open . Add the fields as follow :

    Similarly, do it for Product B.

     After getting product costs for both products, for getting the total quantity of both products , we need to add the individual product costs to get the final outcome.

     

    Thanks , 

    Mayur

  • Profile Image
    JotForm Support

    Answered by Charlie on March 02, 2015 at 09:01 AM

    Hi,

    You could also check the following guides.

    To perform basic calculation, you can check this guide:

    http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form 

    If you are creating an order form and you would like to pass the final calculation to your payment wizard, you can follow this guide:

    http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field 

    If you have a check box or radio button fields and you would like to assign value for each option, that is possible using this guide:

    http://www.jotform.com/help/301-How-to-Assign-Calculation-Value 

    If you would like to use the Conditions Function and insert mathematical calculation here is a guide for that:

    http://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Calculation-into-a-field-using-a-Condition 

     

    I hope that helps. Do let us know if you need more clarification on this.

    Thank you.