Switch View Mode
Change the active View Mode to show or hide widgets set to Visibility → Conditionally.
In the builder: select a widget → On Click or On Change → Add action → Switch View Mode
Behavior
When the action runs, Calcopolis sets one active View Mode for the form.
- Only widgets with Show →
Conditionallyand a matching Active mode is value respond. - Widgets set to Always ignore View Mode rules.
- On Radio / Select with this action on On Change, the selected option Value becomes the View Mode — leave Tag empty in settings.
- Formula-based visibility is also re-evaluated after the mode changes.
Setup fields
Open the action settings (gear icon next to Switch View Mode):
| Field | Description |
|---|---|
| Tag | View Mode name to activate (e.g. advanced). Leave empty on Radio / Select — the selected option Value is used instead. |
Action name
Internal label in the builder action list. Use distinct names when the same widget runs multiple actions.
FAQ
How do I wire Basic / Advanced fields?
- Radio options: Label
Basic/ Valuebasic, LabelAdvanced/ Valueadvanced. - On Change → Switch View Mode (no tag needed).
- Advanced-only widgets → Visibility →
Conditionally→ Active mode is:advanced. - Options → Active view mode →
basicfor the initial state.
Full walkthrough: Show and Hide Fields with Conditional Logic.
Why are advanced fields always visible?
| Symptom | Check |
|---|---|
| Fields never hide | Show must be Conditionally, not Always |
| Wrong mode on load | Set Options → Active view mode to your default (e.g. basic) |
| Typo | Active mode is must match option Value exactly — advanced, not Advanced |
Can I trigger View Mode from a button?
Yes. Add Switch View Mode on On Click and set Tag to the mode name (e.g. details). Useful for “Show more options” links.