> ## 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: Detecting 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.

Analysis of the pre-recognition results reveals that even though the name is a very short keyword “Qty,” you can detect the name by using an element of type [Static Text](/flexi-capture/fls/template/static-text). Set the maximum error percentage to 35; this allows one wrong character in a three-letter word.

To create the kwQuantity element:

1. In the **TableHeader** element, create an element of type [Static Text](/flexi-capture/fls/template/static-text) and name it **kwQuantity**.
2. Click the Static Text tab.
3. In the Search text field, enter the text to find: “**Qty**”.
4. Set the Max error percentage to 35.
5. Click the Advanced tab.
6. Since the name of the **Quantity** column is located to the right of the leftmost third of the image, set the following [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):\
   `RightOf: PageRect.Left + PageRect.Width/3;`
7. Try matching the FlexiLayout with the test images and make sure that the program successfully detects the element on all the images.
