Compute field values with Excel-style formulas — no code.
The Compute field value rule action writes a calculated value into a field when a rule fires. Alongside ready-made operations (Sum, Subtract, Multiply, Divide, Concatenate, Date offset, Date difference) you can write a free-form formula expression evaluated live in the form.
Key capabilities
- Excel-style functions —
IF,AND,OR,CONCATENATE,ROUND,LEFT/RIGHT,TRIM,UPPER/LOWER,TODAY,DATEADD,DATEDIF, and many more. - Field references —
[[fieldValue:InternalName]](or the[InternalName]shorthand). - Dedicated editor — syntax highlighting, field & function autocomplete, an examples panel, and a full function reference.
- Live validator — catches missing parentheses, unknown functions, comma/semicolon mix-ups, and
=vs==in plain language as you type. - Trigger flexibility — recalculate on field change for live totals, or at form pre-save for reference codes.
-
Decide when it recalculates
A computed value is a rule, so you choose what triggers it. This one watches two fields — Quantity and Unit price — joined with Or, so changing either one recalculates the total immediately.
-
Point the result at a field, then write the formula
Add a Compute field value action, choose the target field the result is written to — here OrderTotal — and click the ƒx icon to open the formula editor. It highlights syntax, autocompletes field and function names, and validates as you type: the green Valid badge means it will run.
-
The total updates as you type
The formula above applies a volume discount — 15% at 100 units or more, 10% at 50, none below that — and rounds to two decimals. Same unit price, three quantities:
- 10 → no discount → 499
- 60 → 10% off → 2,694.6
- 120 → 15% off → 5,089.8
Worked example
// Line total, rounded to 2 decimals
ROUND("[[fieldValue:Quantity]]" * "[[fieldValue:UnitPrice]]", 2)
// Escalation text based on a choice field
IF("[[fieldValue:Severity]]"=="Critical", "P1 — act now",
IF("[[fieldValue:Severity]]"=="High", "P2 — review today", "P3 — normal queue"))
Calculate anything — free for 30 days.
Full functionality, no credit card.