Skip to main content

Go To Tab Action

Switch a Tabs component to a specific tab from an action set.

The Go To Tab action switches a Tabs component on the screen to a specific tab. Add it to an action set on a Builder screen, for example to open a tab when a user clicks a button, or to choose which tab the screen opens on.

📌 Note: Go To Tab is only available on Builder screens. To add tabs to a screen, see Tabs component.


Parameters

Parameter

Description

Go to this tab

The tab to open. Each tab on the screen is listed as Tabs component name - Tab label, so you can pick a tab in any Tabs component on the screen.


Things to know

  • A Go To Tab action in the screen's load event decides which tab the screen opens on. It takes priority over Remember last visited tab and the default (first) tab.

  • If the tab is hidden, the action does nothing and the current tab stays open. If an earlier action in the same action set shows the tab, Go To Tab then opens it.

  • If the tab is disabled, the action still opens it, but the components on it are read-only.

  • Other actions that target a component inside another tab, such as Set Focus, Update Controls on Screen, Show/Hide Controls or Enable/Disable Controls, don't switch tabs. Add Go To Tab when you want the user to see that tab.

  • Go To Tab finds a tab by its ID, so renaming a tab doesn't break the action. A tab that an action points to can't be deleted.


Check which tab is open

Each Tabs component has an Active tab value that holds the label of the tab that's open. Use it in an action's condition (for example, only run a step when the Activities tab is open) or as the value in an Assign Value action. You'll find it under the Tabs component's name in the value picker.

📌 Note: The Active tab value is meant for action conditions and Assign Value actions. Don't use it as a component's default value: there it only gets the tab that was open when the screen loaded, and it doesn't change when users switch tabs.


Build it with Method AI

Method AI in the Action Editor can add Go To Tab for you, for example "When this button is clicked, open the Activities tab." For more information, see Method AI in the Action Editor.

Did this answer your question?