> ## 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 1. Step 7: Create a form identifier

> Identify documents in Sample 1 by adding a required Static Text element, IDHeader, that finds the HALLOWEEN REGISTRATION FORM document heading.

When you process semi-structured documents in ABBYY FlexiCapture, you often need to exclude documents that do not belong to the current type. One way to identify a document is to mark at least one element as [required](/flexi-capture/fls/glossary/glossary-main-body#r).

FlexiLayout Studio must detect a required element on every document of a given type. Otherwise, it cannot match the document to its FlexiLayout.

The document heading, **HALLOWEEN REGISTRATION FORM**, makes a good identifier element. It contains distinct text that the OCR engine reads easily.

You can also specify an identifier element, or a set of elements, in a predefined compound **Header** element, which this tutorial does not describe.

Use the document heading solely to identify the document as belonging to this type. In the FlexiLayout, specify the document heading as a [Static Text](/flexi-capture/fls/template/static-text) element.

<Steps>
  <Step title="Open the FlexiLayout tab">
    Click the **FlexiLayout** tab in the FlexiLayout Studio main window.
  </Step>

  <Step title="Select the SearchElements node">
    In the FlexiLayout tree, select **SearchElements**.
  </Step>

  <Step title="Add a Static Text element">
    Select **FlexiLayout → Add element → Static Text**, or right-click the element and select **New → Static Text** on the shortcut menu.

    In the **Name** field, type a name such as **IDHeader**.
  </Step>

  <Step title="Make the element required">
    On the **General** tab, select **Required element** so the document heading is a required element.

    <Frame>
      <img src="https://mintcdn.com/abbyy/8aWHPAJyzWmTqglX/images/flexi-capture/fls/tutorial8.png?fit=max&auto=format&n=8aWHPAJyzWmTqglX&q=85&s=fffb0657f239b71cc4bfb010bf169c88" alt="Screenshot of the General tab of the Static Text element properties in ABBYY FlexiLayout Studio showing the element named IDHeader with the Required element option selected." width="431" height="455" data-path="images/flexi-capture/fls/tutorial8.png" />
    </Frame>
  </Step>

  <Step title="Open the Static Text tab">
    Click the **Static Text** tab.

    <Frame>
      <img src="https://mintcdn.com/abbyy/8aWHPAJyzWmTqglX/images/flexi-capture/fls/tutorial9.png?fit=max&auto=format&n=8aWHPAJyzWmTqglX&q=85&s=852c32018dcd49142f7445720bfe1f2e" alt="Screenshot of the Static Text tab of the IDHeader element properties in ABBYY FlexiLayout Studio showing the Search text field and the Max error percentage setting." width="431" height="455" data-path="images/flexi-capture/fls/tutorial9.png" />
    </Frame>
  </Step>

  <Step title="Enter the search text">
    In the **Search text** field, type the text to find: **HALLOWEEN REGISTRATION FORM**.

    Judging by the first image in the batch, the document heading fits on one line. You can type the heading without spaces to speed up the search for single-line static text.
  </Step>

  <Step title="Set the maximum error percentage">
    Set the maximum number of errors allowed in the found text, either as a percentage or as a number. Set **Max error percentage** to **20**, which allows 5 errors for the 25 characters of the document heading.

    You can find the optimal percentage of allowed errors only by trial and error.
  </Step>
</Steps>
