Introducing the Calculation Engine
Introduction
The Calculation Node allows you to create powerful, real-time formulas inside your form flows.
It automatically detects numbers from user inputs and uses them in mathematical expressions — similar to Google Sheets or Excel formulas.
This makes it easy to build:
Quoting tools
Price calculators
Loan/mortgage estimators
Budget planners
Custom scoring systems
Any form that needs dynamic numerical output
Calculation Node is Version 1, and additional features will continue to be added.
How It Works
The Calculation Node evaluates user inputs and returns a numerical result based on the expression you set.
The system automatically:
Detects numbers from Short Text fields
Detects numbers inside Multiple Choice options (e.g., “$49/day”)
Filters out non-numeric characters
Returns a clean numeric value for calculation
You can also build formulas using expressions such as:
+(add)-(subtract)*(multiply)/(divide)Parentheses
( )for grouping
Example: Car Rental Cost Calculator
Below is the example used in the demonstration from the video.
Step 1 — Create Input Fields
Add a Short Text question:
“How many days do you want the car?”When a user types “7 days”, the system automatically extracts 7.
Add a Multiple Choice question:
“What type of car do you want to rent?”
Example options with embedded pricing:SUV — 49/day
Sedan — 39/day
Hatchback — 19/day
Bicycle — 3/day
Any number typed in the option will be detected.
You can also reorder the choices by dragging them — option sorting is now supported.
Step 2 — Add a Calculation Node
On the Canvas, drag in the Calculator node.
Name your calculation. Example: Car Estimate.
Build your formula using the detected inputs.
Example formula:
The node will reference:
The numeric value from the “days” input
The numeric value from the selected car option
The calculator automatically displays the evaluated result while you build the formula.
Step 3 — Display the Calculation Result
Add a Text element on the next page.
Write your output message, for example:
Publish the form.
When the user completes the form, the value from the Calculation Node will appear in the text element.
Live Example
If a user enters:
7 days
$39/day (Sedan)
Formula:7 * 39
Result:273
Your final screen might display:
“Your car is $273.”
Additional Features
Multiple Calculators
You can add more than one Calculation Node to the same form — each with separate formulas.
Expression Support
The Calculation Node supports expressions similar to spreadsheets:
Nested parentheses
Order of operations
Complex formula building
Automatic Number Detection
The system only uses numbers detected in:
Short text fields
Multiple choice options
Non-numeric characters (letters, symbols, brackets, text) are ignored automatically.
Updated Input Option Controls
Multiple Choice options can now be reordered by dragging, improving form-building workflow.
Best Practices
Keep Input Fields Clear
If your question expects a number, use Short Text instead of long text for better detection.
Use Descriptive Labels
Name your calculation clearly (e.g., “Monthly Payment”, “EstimateTotal”, “ScoreOutput”).
Combine Calculators
You can create multi-step calculations by chaining multiple Calculator nodes.
Use Parentheses for Clarity
When formulas get more complex, group them with ( ) to avoid unexpected results.
Troubleshooting
The calculator is returning “NaN” (not a number)
Check that:
The user inputs include numbers
The multiple-choice options include numeric values
The formula references the correct fields
The calculation result is wrong
Check that:
Your formula uses the correct operator (
*,+, etc.)Parentheses are placed correctly
The underlying input values are correct
Summary
The Calculation Node transforms your FormFlow forms into dynamic, interactive calculators.
It detects numbers automatically, supports spreadsheet-style expressions, and lets you display real-time results to your users with ease.
This is Version 1, and more enhancements are planned.
If you have feature requests or questions, feel free to reach out to the support team anytime.