-
goldsealAsked on September 27, 2017 at 9:42 AM
Hi there,
Im having a hard time getting this to work, if at all possible.
What I am trying to achieve is:
Number box A:
Number box B:
Total:
I need number box A and number box B to add together and then multiply by 50, which will in return show the total. Or even better, if possible to not show the total but only show the total in an auto email response? Is this even possible with the Jotforms?
Thank you in advance.
-
BJoannaReplied on September 27, 2017 at 11:20 AM
Yes, it is possible to perform a calculation inside of a form. Inside of this guide, you can find how to do it:
How to Perform Form Calculation Using a Widget
You can set your calculation like this.
It is also possible to hide the Total field.
The hidden field will be shown inside of the Autoresponder email.
Here is my demo form: https://form.jotformpro.com/72694469179980
Feel free to test it and clone it.
Hope this meet what you are looking for.
-
goldsealReplied on September 27, 2017 at 11:35 AM
Thats great! Appreciate that, its exactly what Im after.
One other question... when I received the reply, it was correct.. Is there anyway to have the amount show 2 figures? Example
Box A - 5
Box B - 5
(Hidden Total is 500) but the email will reply with an approximate figure, with 100 difference.
Email would show 400-500 ?
The purpose of this is Im trying to have an auto response to my customers which will show them an approximate value, so having the total show a "between" price - would be good? Can I also show this total in $ value?
Thank you again, I do appreciate the help. -
BJoannaReplied on September 27, 2017 at 12:15 PM
You can add one additional field to your form that will perform a new calculation Total-100.
Then you can pass both values to the third field. You can also add a $ sign in front of the values. Also, please note that the field values inside of this field should be set as strings (A-Z).
You can also customize your Autoresponder email and remove the field Total and Total-100.
How to Edit the Email Template for Notifications and Autoresponders
Here is my new demo form: https://form.jotformpro.com/72694864479982
Feel free to test it.
Hope this will help.