- RuckerAsked on February 11, 2016 at 09:44 PM
Hi, I see that an auto-calculation feature was added to your Use Cases document in 2010. Is it available yet? I would like to have a conditional price calculation like the following:
1. Rug Width (in feet): 8
2. Rug Length (in feet): 10
3. Rug Knot Density (in knots per square inch): 30 = $60/ft^2 OR 100 = $80/ft^2
Price = $4,800 (8ft x 10ft x $60/ft^2) if 30 is entered for Knot Density
Price = $6,400 (8ft x 10ft x $80/ft^2) if 100 is entered for Knot Density
- JotForm SupportChriistianAnswered on February 11, 2016 at 09:50 PM
You can do calculations in your form using the Form Calculation Widget.
Please follow the guide below to set up the form calculation.
1. Add 4 textbox fields that will capture the amount entered.
2. Add the Form Calculation widget, then click on the Wand Icon to open the calculation wizard.
3. On the calculation wizard, add the required fields to perform the calculation. (rugDensity * rugLength * initalPrice)
Follow the guide below to add the fields. Then click Finish when done.
4. Now you can now add the conditions required for the price. Here's a guide about smart conditions that can help: Smart Forms Using Conditional Logic
5. Add the following conditions to your form using the Update/Calculate Field.
Condition 1: If Rug Knot Density is Equal to 30, output 60 to Initial Price.
Condition 2: If Rug Knot Density is Equal to 100, output 80 to Initial Price.
Click the Save button to save the conditions.
6. The conditions should look like this.
Once that is set, your form is ready for calculation. Here's a gif of the form performing the calculation.
Do let us know if you need further assistance.