# How Can I Create Multiple Calculations using Multiple Fields?

• 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

• 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

• 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:

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:

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:

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

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

Thank you.