# 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.

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:

1. In **Form Designer**, go to the **Layout** category.
2. Drag and drop the **Tabs Component** into the designer.
3. In the **Display** tab, click **Add another** to add two or more tabs.
4. Go to the **Field Key** tab.
5. In the **Custom Properties** block, input `defaultTab` in the **Key** field and set a value for it.
   :::note
   The value you set for the `defaultTab` key 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 enter `2` (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).
   :::
6. Save the component and the form.

  <iframe
    src="https://documentationpicturerepo.blob.core.windows.net/screenshots/screenshots/_Action_Center/Cloud/defaultTab.mp4"
    title="Accelerate building automations with UiPath Integration Service"
    style={{
      position: "absolute",
      top: 0,
      left: 0,
      width: "100%",
      height: "100%",
      border: 0,
    }}
    loading="lazy"
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
    referrerPolicy="strict-origin-when-cross-origin"
    allowFullScreen
  ></iframe>
