Author

Profile Image Aytekin Tank is founder of JotForm. He currently leads the JotForm development team. He loves to hear from JotForm users. Feel free to shoot him an email at aytekin at jotform.com.


Welcome to the JotForm blog, where you can read about new JotForm features and find helpful online form tips for creating top-notch forms, user case studies, and much more.

Feel free to stay a while, drop a comment or two, laugh at our corny jokes, and make sure to share the articles you like on social media.




Introducing Field Calculations for Forms

March 18, 2014
We are excited to announce our new Form Calculation Widget, an amazingly powerful math engine for your forms. We've worked together with many JotForm users to find the perfect set of calculation features to make this widget easy, fun and powerful.

So, if you are looking to introduce simple additions/subtractions to your forms or even advanced mathematical equations this widget is exactly what need.




Let's Create a Calculation Form

1. In the Form Builder, click on "Form Calculation" under Widgets toolbox.

add calculation field

2. When you add a Form Calculation widget to your form, a formula wizard will launch. Click on "Add Field" to use one of your form fields in the calculation formula.

calculation field


3. Write your formula:

form calculation formula

4. Save it and your form is ready!



Example Form Templates

We have created many example calculation forms for you. You can view them in the Calculation Forms section of the Form Templates gallery.

calculation form templates



Advanced Math Functions


You can access these functions in the calculation wizard. 

advanced math functions




21 Comments...


   
Mike Stombaugh (March 18, 2014 at 01:01 PM)

How do you ad formatting to a result. For example, have it return "$10.00" instead of just "10", or even simply "10.00" instead of "10"?

Thanks!
Mike

View Answer


   
Althea (March 18, 2014 at 01:03 PM)

Thank you! I've been hoping you would do this soon!


   
raviprashanth83 (March 18, 2014 at 01:46 PM)

That's awesome! I am going to use. Will give my feedback, wait for me.


   
CIBERCALI (March 18, 2014 at 02:01 PM)

Muy bueno, imagino que esto sirve para que el usuario consulte el presupuesto en linea y envié los datos. Felicitaciones. Jotform, lo mejor en formulario.


   
Таисия (March 18, 2014 at 02:10 PM)

Интересное обновление. А как это можно использовать и для каких целей?

View Answer


   
Richard (March 18, 2014 at 02:10 PM)

What about IF clauses? This would be really useful.

View Answer


   
villages1.com (March 18, 2014 at 02:34 PM)

I was a user for years and several months I shut it down....I now wish to reopen our account.

Please have a rep give me a call

352 250 5076

View Answer


   
TentMA (March 18, 2014 at 04:25 PM)

Is there an IF-THEN calculate function?

View Answer


   
rintie (March 18, 2014 at 04:42 PM)

Is it possible that if some one checks a checkbox it adds like 50?

View Answer


   
rintie (March 18, 2014 at 05:04 PM)

Great function though! I only had a little issue, I can't add the calculation to the 'thank you' page as a formfield.

View Answer


   
izen (March 19, 2014 at 12:54 AM)

You guys simple rock!! I had been trying calculator with help from support team. Now it's a feature - can't thank you enough. Keep it coming :)


   
David king (March 19, 2014 at 04:32 AM)

Can you use the calculation widget with a PayPal booking form. Say your booking form ask questions and depending on the answer yes or no you add amounts to charge via PayPal.

View Answer


   
Richard Kershaw (March 19, 2014 at 06:21 AM)

Well done for developing such a technical toolset for Jotform users. Thanks for keeping my customer queries rolling in...


   
impcat (March 19, 2014 at 06:39 AM)

Awesome...can the calculation widget integrates with Paypal...same query as David King...without having to configure the Paypal module to accept "donations" and ask the users to report the amount of the calculated field manually into the payment field. thanks

View Answer


   
nathanwhillans (March 19, 2014 at 10:55 AM)

** This is great. >> Is there going to be more features for conditional statements which can work with the calculation field. I'm specifically thinking "more than" or "less than"

View Answer


   
bleonard8 (March 19, 2014 at 11:13 AM)

Will the form calculator be able to do table lookups? I would like to have the widget supply a number based on looking up ranges of numbers and then doing a calculation. For example, if the number is between 5500 and 7500, then the result would be 660 (the result from the table for that range) plus 15% of the amount greater than 5500. This would allow tax calculations, although the formula would be much more complex than this example.

View Answer


   
CitygateBmth (March 20, 2014 at 06:19 AM)

Would you be open to adding Matrix elements to this widget (which is great, by the way)?

We use them in a couple of forms (example here: http://resources.citygatechurch.net/forms/porform.html ) and they're really useful for collecting data with columns for prices.

It would be really useful if we could add matrix cells to calculations.

View Answer


   
teamgearint (March 20, 2014 at 09:16 PM)

Is it possible to incorporate with or inside a pay tool?

View Answer


   
gicargentina (March 25, 2014 at 02:35 AM)

Can I create a price / quote calculator for the products in my website?

I need the users to sellect the product name and variations or colors / sizes and the form should add the values

View Answer


   
FenDesigns (March 31, 2014 at 08:45 AM)

I want to Know if i can make an option : Make multiple case of "radio" or "Multiple" with lot of filds of numbers to result multiples result between deferents radio or multiple in one case.
Thank's.

View Answer


   
digiosolutions (May 15, 2014 at 09:13 AM)

WE NEED PAYPAL-CALCULATION-INTEGRATION!!!

View Answer


Send Comment