> ## 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 12: Describe the Delivery Address field with a DeliveryAddress element

> Capture the multi-line Delivery Address field with a DeliveryAddress Paragraph element, applying relations to nearby keywords and the white gap.

The **Delivery Address** field is a multi-line field that appears near its name, **kwDeliveryAddress**. Use a [Paragraph](/flexi-capture/fls/template/text-chain) element to capture it.

<Steps>
  <Step title="Create the Paragraph element">
    In the `InvoiceHeader.grAddress` element, create an element of type [Paragraph](/flexi-capture/fls/template/text-chain) and name it **DeliveryAddress**.
  </Step>

  <Step title="Set the search constraints">
    Click the **Relations** tab. The **DeliveryAddress** field appears only above the **kwInvoiceNumber** name, only to the left of the **wgAddressRight** white gap, and only to the right of the start of the **kwDeliveryAddress** name (with a small offset), so set these constraints:

    * **Above** the **kwInvoiceNumber** element, **Offset** = 0
    * **Left of** the **kwInvoiceNumber** element, **Offset** = 0
    * **Right of** the **kwDeliveryAddress** element, **Offset** = -50, **Reference boundary** = **Left**

    <Note>
      Offset values are selected by trial and error.
    </Note>

    The [Group](/flexi-capture/fls/template/elements-compound) element `InvoiceHeader.grAddress` already restricts the **DeliveryAddress** field to below the keywords of the **kwDeliveryAddress** name, so you do not need to repeat that constraint here.
  </Step>

  <Step title="Add the search constraint">
    Click the **Advanced** tab. The **Delivery Address** field is optional, but when it occurs it always has a name. In the **Advanced pre-search relations** field, set this [additional search constraint](/flexi-capture/fls/template/advanced-constraints): look for the object only if the **kwDeliveryAddress** element was detected. In the [FlexiLayout language](/flexi-capture/fls/code/general-code):

    ```text theme={null}
    If InvoiceHeader.kwDeliveryAddress.IsNull Then DontFind;
    ```
  </Step>

  <Step title="Verify the match">
    Match the FlexiLayout with the test images and confirm that FlexiLayout Studio detects the element on every image where it applies.
  </Step>

  <Step title="Set the block source element">
    To describe the location of the **DeliveryAddress** block, select **Source element**, click <img src="https://mintcdn.com/abbyy/fmgRWFNHKYN2MLSg/images/flexi-capture/fls/Browse_Button.gif?s=3673db30dda4a3293aec716853588b55" alt="Browse button" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="21" height="20" data-path="images/flexi-capture/fls/Browse_Button.gif" />, and select the **DeliveryAddress** element as the source element.
  </Step>
</Steps>
