We have just implemented this as a new feature allowing the use of Calculations based on specific conditions.
- Go to the Form Builder’s Settings tab.
- Click Conditions on the left.
- Select the Update/Calculate Field option.

- Set the DO statement to Calculate a field’s value.

A new section will appear where you can add form fields by clicking the Add Field button.

You can also insert values, operators, and functions using the virtual numeric keypad.
Perform Calculations
As an example, we’ll be using this simple multiplication fieldset consisting of 3 Number elements where we insert the product of the first two fields into the third:

The Conditional Logic would look something like the following:

Notice the field labels have a trailing [0-9], meaning their value is numeric.
To break that down:
- We’ve set the condition or IF statement to check if the Multiplicand field “Is Filled”.
- The action or DO statement will insert the result of the expression “Multiplicand * Multiplier” into the Product field if the condition is met.
After clicking the Save button, this is what it looks like in my conditions list:

Insert Text
Now how to insert static text? Simply type the text in the textarea under the DO statement.
We’ll be using this fieldset consisting of a Single Choice element as the input field and a Short Text element as the output field for the condition:

Here’s what its Conditional Logic looks like:

The setup will insert the text “Hello World” into the Output field if the Insert “Hello World” into Output field is a “Yes”.

To learn more, here’s the demo form used for the steps mentioned in this guide.
Congratulations! You’re now able to insert static text or perform your own calculations using conditional logic.
Here are some related guides that you might also want to check out:
- How to Populate Field with a Value from Another Field
- How to Manipulate Text String with Conditions and Calculation
Got questions? Please let us know below!
Send Comment:
5 Comments:
When do calculations happen?
For example, if I have 3 fields such as:
Cost of item
Number ordered
Total cost
Where I set the Total cost = Cost x Number,
But if the user then goes back to change the cost of the item, does it automatically recalculate the Total Cost?
Quick Question how would you do discount off Percentage off?
Hi
I am having a challenge directing my form to a thank you page after submitting. I have set a thank you page but the form goes straight to a calculation after submitting instof a thank you page that I have created and checked.
Üdvözlet!
Vasúti kocsik számozásával kapcsolatban van egy kis problémám:
1 - Mivel a vasúti vagonok számozása egy 12 számjegyből álló számsor, aminek az utolsó szájegye az ellenörző szám, amivel a kocsiszám hellyeségét tudjuk igazolni.
Ezt a számot szeretném kiszámíttatni a programmal, de sajnos nem igazán tudom, hogyan kell.
2 - Az ellenörző számot a következő képpen kell kiszámolni: : a páratlan helyen álló számokat 2-vel szorozzák, a páros helyen állókat 1-gyel, és mindegyik szorzatban veszik a számjegyek összegét; majd az így kapott 11 számot összeadják, végül a 12. jegyet úgy választják meg, hogy az előbbi összeghez hozzáadva 10-zel osztható számot kapjanak. Pld, ha az 51553930016 tizenegy-jegyű számból indulunk ki: a 11 jegyű szám: 5 1 5 5 3 9 3 0 0 1 6 szorzó: 2 1 2 1 2 1 2 1 2 1 2 szorzat 1 0 1 1 0 5 6 9 6 0 0 1 1 2 a jegyek összege: 1 1 1 5 6 9 6 0 0 1 3 akkor az összeg: 1+1+1+5+6+9+6+0+0+1+3= 33, tehát az utolsó, 12. jegy a 7 lesz. A vasúti kocsi 12 jegyű száma: 515539300167.
Ezt hogyan tudnám kiszámíttani az űrlapon???
3 - Valamint: a telefonos alkalmazásban ezt hogyan tudom megjeleníttetni, úgy hogy a 12 számjegy elférjen???
Nagyon várom a választ!
További szépnapot!!
I have a registration form for a camp where participants state their gender (male/female/undetermined). Total space in the camp is 80 spaces. I would like to stop registration for males or females (plus undetermined) at 40 each gender.
How can I do this using the calculate function? I tried, but it won't let me add to more than one counter.