Let the form
do the calculation
Calculation is a read-only field that computes a result from other Number fields using a simple expression — updating instantly as respondents fill out the form.
What the Calculation field does
It's a Content element, like any other — add, edit, copy, hide, or delete it from the sidebar. What makes it different is what it shows respondents.
🧮 Read-only, always current
Respondents never type into it. It calculate automatically basen on formula and other Number fields and updates the moment a referenced value changes. |
|---|
➕ Four operators
Addition, subtraction, multiplication, and division. Type the formula and select Number field which you wanna use in calculations |
|---|
🔗 Insert number fields
Use {} to add the selected field's key straight into the expression of calculated field |
|---|
🔀 Works with Form Logic
Use it in a When condition with the same operators as a Number field, or target it with a Then action |
|---|
🗺️ Mappable to Jira fields
On Create or Update work item, map the result to a system Jira field, or a custom field of type text or number. |
|---|
⚠️ Predictable on edge cases
Empty, hidden, or disabled inputs default sensibly instead of breaking the formula. |
|---|
Build a calculated
field
Every Calculation field follows the same recipe: add one or multiple number fields, then add calculation field and write an expression that references one or more Number fields already on the form.
🎯Anatomy of an expression
Element keys + numbers, joined by + - * /. Only Number elements added in the builder count — numbers inside Tables or other Calculation fields are ignored.
Add the Calculation element
In the form builder sidebar, navigate to Content elements and drag Calculation onto the form. Like any element, it can be edited, copied or hidden.
Fill in the general settings
Element key, Label, and Description — the same settings every element has.
Open Expression and insert a field
Click into the Expression box, then click the {} dropdown. It lists every Number field on the form — pick one and its key is added at your cursor.
Add operators, numbers and additional fields
Type an operator directly, then insert the next field the same way — for example, quantity * unit_price. Click Apply when the expression is complete.
Result
A read-only field respondents can't type into, showing a live result that recalculates every time a referenced Number field changes.
How empty, hidden, and disabled fields are handeled
If a referenced field has no value - because it's empty, hidden, or disabled by Form Logic — the engine substitutes a default rather than erroring out. The default depends on the operator:
|
Addition / Subtraction |
0 for that field — the rest of the expression still calculates |
|
Multiplication / Division |
The entire result is 0 |
Example: total = quantity * price + shipping. If shipping is hidden by form logic, because it is free for the region, total = quantity * price.