Skip to main content
Calculate evaluates a formula and writes the result into a target field — live totals, quiz scores, formatted labels, or concatenated text. Use on Calculated blocks (When Always → Calculate) or conditional rules when formulas should run only sometimes.

When to choose this


Exact behavior

  • Target receives computed value on every logic recompute when parent When matches.
  • Result feeds later rules in the same pass — calculate Score, then When Score ≥ 80 can match immediately after.
  • Number mode: arithmetic with + - * / %, parentheses, {blockId} tokens, and whitelist functions min(), max(), round(), concat(). Blank or non-numeric tokens make the whole numeric result empty{qty} + 1 does not become 1 when qty is unanswered. Unknown functions fail closed (empty result).
  • Text mode: string interpolation — tokens replaced; use + between tokens/literals or concat({first}, " ", {last}) to assemble labels.
  • Invalid expression characters or divide-by-zero → empty result, no crash.
  • Target must exist on canvas; unknown target ignored.
Field tokens are block IDs ({blockId}), not display labels. Use the Value field picker or the Formula inserter so IDs stay correct.

What changes on fill


Configure in Studio

1

Add or pick target field

Integer, currency, rating, Calculated block, etc. — set result type (number vs text) in block settings when relevant.
2

Add Calculated block OR Then → Calculate

Calculated blocks ship with When Always → Calculate; other rules add Calculate manually.
3

Select target

Pick from the list of Calculated (Σ) and number fields on the form — you do not type a field name. Add a Calculated block first if the list is empty.
4

Choose an operation

Add, Subtract, Multiply, Divide, Assign, or Formula.
  • Assign — set the target to a number or another field’s answer.
  • Add / Subtract / Multiply / Divide — apply that op using a number or another field (same Value control).
  • Formula — opens Edit formula. Type math, click + − × ÷ ( ), or type @ to mention only supported fields (numbers, ratings, choices, calculated).
5

Set Value

One control: type a literal or open the dropdown and pick an input field. No separate “Answer of…” / “Insert field…” for simple ops.
6

Choose number vs text on target

Number mode evaluates math; text mode concatenates only (use Formula for templates).
7

Add downstream When (optional)

Separate rule reading calculated field — e.g. When Total greater than 1000.
8

Test on Fill

Change inputs — watch target update live.

Worked examples

Order total (Formula)

When AlwaysCalculate Order total Formula {quantity} * {unit_price}

Add a surcharge

When Plan equals ProCalculate Final price Multiply 1.2
(or Formula {base_price} * 1.2)

Assign from another field

When Use company address checkedCalculate Shipping city Assign (pick) Billing city

Quiz score (Add points)

Calculated Σ Score = 0 on the canvas.
When Q1 is (correct)Calculate Σ Score Add 10
When Q2 is (correct)Calculate Σ Score Add 10
Then: When Score ≥ 70Jump to page Pass.

Quiz score (Formula sum)

When AlwaysCalculate Score Formula {q1} + {q2} + {q3}
(when each question already stores a numeric point value)

Personalized greeting (Formula, text)

When AlwaysCalculate Heading Formula Thanks, {first_name}!

Test on fill

1

Fill all numeric tokens

Target shows expected result.
2

Clear one token

Number result empties — not partial math with zero substitution.
3

Text mode with missing name

Template shows with blank where token was.
4

Downstream When on calculated field

Fires in same recalc pass after Calculate runs (rule order matters on board).
5

Conditional Calculate

Formula updates only when When true for that rule.

Common mistakes

  • Typing field labels instead of picking fields or inserting {blockId} tokens.
  • Expecting math in text result type.
  • Referencing later-page fields before answered — blank tokens empty numeric result.
  • Removing Always from Calculated block without replacement trigger.

Troubleshooting

Wrong token ids, blank inputs in number mode, or invalid characters in expression.
Check operator precedence — use parentheses in Formula. Verify Value points to the intended field.
Place Calculate rule before When-on-target in Logic Board order.
Target in text mode but tokens malformed — pick fields from Value / Formula inserter, not hand-typed braces with labels.
Last modified on September 7, 2026