How Can I Create Multiple Calculations using Multiple Fields?

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

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