How Can I Create Multiple Calculations using Multiple Fields?

  • theorganicninja
    Asked on March 1, 2015 at 7: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

  • mayur5478
    Replied on March 1, 2015 at 10:32 PM

    Create a form as follows : How Can I Create Multiple Calculations using Multiple Fields? Image 1 Screenshot 40

    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 :

    How Can I Create Multiple Calculations using Multiple Fields? Image 2 Screenshot 51

    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.

    How Can I Create Multiple Calculations using Multiple Fields? Image 3 Screenshot 62

     

    Thanks , 

    Mayur

  • Charlie
    Replied on March 2, 2015 at 9: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.