Calculate
Re-run every formula in the project and refresh Result widgets, conditional visibility, and charts.
In the builder: select a widget → On Click or On Change → Add action → Calculate formulas
Behavior
When the action runs, Calcopolis evaluates all = formulas in the current form scope and updates displayed results.
- Runs entirely in the browser — no server round-trip.
- Also refreshes Visibility rules that depend on formulas.
- Use after visitors change inputs, or on project load via Options → On init → Run calculation on load.
Setup fields
No setup fields — connect the action and it runs immediately.
FAQ
When should I add Calculate?
| Situation | Suggestion |
|---|---|
| Live quote updates | Attach Calculate to Number / Range On Change |
| Manual refresh button | Add a Button with only Calculate on On Click |
| Results on first load | Options → On init → Run calculation on load (no button needed) |
Why do results stay stale?
| Symptom | Check |
|---|---|
| Result never updates | Add Calculate on the input's On Change, or enable Run calculation on load |
| Visibility formula wrong | Calculate must run after the input changes — attach it to that widget |
| Works in Preview, not embedded | Publish (Save & Publish) and test the live embed |
Calculate vs Toggle View Mode?
Calculate updates numbers and formula-based visibility. Switch View Mode shows or hides fields by View Mode name — use both on the same Radio if you need tiered fields and live totals.