Setting a Default Tab
Starting with UiPath.FormActivityLibrary dependency v1.1.9, you can set which tab to be displayed by default inside a Form Action.
This applies to cases where you design two or more tabs inside the form, using the UiPath Form Designer from the Create Form Task activity.
Setting a default tab
To set a default tab:
- In Form Designer, go to the Layout category.
- Drag and drop the Tabs Component into the designer.
- In the Display tab, click Add another to add two or more tabs.
- Go to the Field Key tab.
- In the Custom Properties block, input
defaultTabin the Key field and set a value for it.noteThe value you set for the
defaultTabkey must correspond to the count of the desired tab, starting from 0. For example, let's say you have five tabs. If you want to set the third tab to be displayed by default, you must enter2(Tab 1 - counts as 0, Tab 2 - counts as 1, Tab 3 - counts as 2, Tab 4 - counts as 3, Tab 5 - counts as 4). - Save the component and the form.