> For the complete documentation index, see [llms.txt](https://knowledgebase.autorabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.autorabit.com/product-guides/arm-1/arm-features/version-control/ez-merge/merge-requests/required-field-validation-for-merge-request-creation-new-ui.md).

# Required Field Validation for Merge Request Creation (New UI)

### Overview

AutoRABIT ARM has enhanced the **Merge Request** creation process in the New UI with improved required field validation, automatic Target Branch selection, and informative tooltips. These improvements help users identify missing information and create Merge Requests more efficiently.

### What's New?

* **Required Field Validation:** When users click **Create Merge Request** with missing mandatory information, ARM highlights the required fields and displays clear inline error messages.
* **Automatic Navigation:** ARM automatically scrolls to the first invalid field, allowing users to quickly identify and correct missing information.
* **Target Branch Auto-Population:** The Target Branch is automatically populated based on the selected Source Branch's default configuration.
* **Informative Tooltips:** When the Create Merge Request action is unavailable, ARM displays a tooltip explaining why the action is disabled.

### How It Works

1. Navigate to **Version Control → Merge Request** in the New UI.
2. Select the repository and Source Branch. The Target Branch is automatically populated based on the configured default.
3. Enter the required Merge Request details.
4. Click **Create Merge Request**. If mandatory fields are missing, ARM highlights them and displays inline validation messages.
5. Correct the highlighted fields and proceed with Merge Request creation.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FWNjs7ztO4WKV8IjE4ooR%2F575BB7BA-7F0E-4D6D-964C-323E679090ED.png?alt=media&amp;token=4c8caa34-074c-4bb1-a291-ea2436aff391" alt=""><figcaption></figcaption></figure>

### Benefits

* Quickly identify and resolve missing required fields.
* Reduce manual effort with automatic Target Branch selection.
* Understand why Merge Request creation is unavailable.
* Improve the overall Merge Request creation experience.

**Availability:** AutoRABIT ARM – New UI only.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledgebase.autorabit.com/product-guides/arm-1/arm-features/version-control/ez-merge/merge-requests/required-field-validation-for-merge-request-creation-new-ui.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
