Switch View Mode

Activate a View Mode to show or hide fields — Basic/Advanced sections, tabs, conditional blocks.

view mode visibility conditional logic building forms form command

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 → Conditionally and 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?

  1. Radio options: Label Basic / Value basic, Label Advanced / Value advanced.
  2. On Change → Switch View Mode (no tag needed).
  3. Advanced-only widgets → Visibility → Conditionally → Active mode is: advanced.
  4. Options → Active view mode → basic for 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.


← Back to Reference

Still have unanswered questions?

We are here to help. Reach out and our team will get back to you.

Contact support