# Tab sequence

## Overview

<div align="left"><figure><img src="/files/gr6ZCrngILeMFCg1j92x" alt="Tab Sequence tab"><figcaption><p>Form Editor - Tab Sequence Tab</p></figcaption></figure></div>

The **Tab Sequence** tab in the Form Editor is used to define and manage the order in which focus moves across the form’s fields and interactive components when the user presses the `Tab` key. This ensures a logical and user-friendly navigation flow, especially important for data entry forms and accessibility compliance.

## Sections

### Available Elements (Left panel)

This panel lists the form elements that are available but not currently included in the tab sequence. When an element is removed from the tab sequence, it will appear here.

### Selected Elements (Right panel)

Shows the elements that participate in the tab sequence, listed in the current order of navigation. Each entry includes:

* **Component type**, such as `WebComponent`.
* **Name** (for example, `firstName_label`).
* **Component class**, like `bootstrapcomponents-textbox`.

### Control Buttons

* `>>` / `<<` — Move selected elements between the Available and Selected lists.
* `Up` / `Down` — Reorder elements in the tab sequence.
* `Default` — Restore the default tab order (appears enabled only if the current order differs from the default).

## Using the Tab Sequence

<div align="left"><figure><img src="/files/591odsuAiUxYP3jKrg79" alt="Tab Sequence usage demo"><figcaption><p>Working with the Tab Sequence tab</p></figcaption></figure></div>

To define a custom tab sequence for your form:

1. **Rearrange elements**:
   * In the **Selected elements** list, use the `Up` and `Down` buttons to change the order in which the focus will move as the user presses `Tab`.
2. **Remove from sequence**:
   * Select elements and click `<<` to move them to the **Available elements** list. They will be skipped during tab navigation.
3. **Re-add to sequence**:
   * Select elements in **Available elements** and click `>>` to place them back into the tab sequence.
4. **Restore default**:
   * If needed, click `Default` to revert to the original tab order generated by the designer.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.servoy.com/reference/servoy-developer/object-editors/form-editor/form-editor-tabsequence-tab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
