> ## 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 16: Detect the name of the Quantity column with a kwQuantity element

> Locate the Quantity column name with a kwQuantity Static Text element, raising the error percentage to match the short keyword Qty reliably.

Even though the **Quantity** column name is a very short keyword, `Qty`, you can detect it with a [Static Text](/flexi-capture/fls/template/static-text) element. Set the maximum error percentage to 35. This allows one wrong character in a three-letter word.

<Steps>
  <Step title="Create the Static Text element">
    In the **TableHeader** element, create an element of type [Static Text](/flexi-capture/fls/template/static-text) and name it **kwQuantity**.
  </Step>

  <Step title="Configure the search text">
    Click the **Static Text** tab. In the **Search text** field, enter the text to find: `Qty`. Set **Max error percentage** to 35.
  </Step>

  <Step title="Add the search constraint">
    Click the **Advanced** tab. The **Quantity** column name appears to the right of the leftmost third of the image, so set this [additional search constraint](/flexi-capture/fls/template/advanced-constraints) in the **Advanced pre-search relations** field: look for the object to the right of the leftmost third of the page. In the [FlexiLayout language](/flexi-capture/fls/code/general-code):

    ```text theme={null}
    RightOf: PageRect.Left + PageRect.Width/3;
    ```
  </Step>

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