> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample 3. Step 10: Create a grAddress Group element

> Group the Delivery Address search elements in a grAddress element and set relation constraints that bound the area between the field name keywords.

The **Delivery Address** field is located with two elements: a **White Gap** element on the right, and a [Paragraph](/flexi-capture/fls/template/text-chain) element. To set the properties common to these elements, create a [Group](/flexi-capture/fls/template/elements-compound) element.

## Create the grAddress element

<Steps>
  <Step title="Create the Group element">
    In the **InvoiceHeader** element, create a [Group](/flexi-capture/fls/template/elements-compound) element and name it **grAddress**.
  </Step>

  <Step title="Set the location relations">
    Click the **Relations** tab. All the elements that search for the **Delivery Address** field can occur only below the **kwDeliveryAddress** name keywords and above the **kwInvoiceNumber** name keywords, so set these relations:

    * **Below** the **kwDeliveryAddress** element, **Offset** = 0
    * **Above** the **kwInvoiceNumber** element, **Offset** = 0

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial3_10.gif?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=607620ea203a140a57782c3615c821d8" alt="Screenshot of the Relations tab for the grAddress Group element with search constraints set below the kwDeliveryAddress keyword and above the kwInvoiceNumber keyword" width="431" height="455" data-path="images/flexi-capture/fls/tutorial3_10.gif" />
    </Frame>
  </Step>

  <Step title="Add the search-area constraint">
    Click the **Advanced** tab. Since the **Delivery Address** field and the white gap bordering it are in the left two fifths of the page, set this [additional search constraint](/flexi-capture/fls/template/advanced-constraints) in the **Advanced pre-search relations** field: look for the objects in the left two fifths of the page. In the [FlexiLayout language](/flexi-capture/fls/code/general-code):

    ```text theme={null}
    LeftOf: PageRect.Left + PageRect.Width*2/5;
    ```
  </Step>
</Steps>
