> ## 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 2. Step 10: Create the Recipe element

> Build the Recipe element as optional Static Text in FlexiLayout Studio, set its search text and error percentage, and verify matching on test images.

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

    Do not select **Required element**, which is not selected by default. Unlike the document heading, which serves as a document identifier and was specified as a required element, all the other elements are assumed to be optional. This lets FlexiLayout Studio formulate hypotheses even for elements whose corresponding objects it does not find on the images.

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial2_9.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=f3f27850a65e1c3ad861e0b9cd656151" alt="Screenshot of the General tab of the Properties of SearchElements.Recipe dialog box in ABBYY FlexiLayout Studio, showing the Recipe element with the Optional element option selected in the Search control group." width="431" height="455" data-path="images/flexi-capture/fls/tutorial2_9.png" />
    </Frame>
  </Step>

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

  <Step title="Enter the search text">
    In the **Search text** field, type the text to search for. Because the field name has only one line on all the test images, type it without spaces, as **Recipe#:**.
  </Step>

  <Step title="Set the maximum error percentage">
    Set the **Max error percentage** to 20. Because the field name is a single word, it is unlikely to contain many errors.
  </Step>
</Steps>

Match the FlexiLayout with the test images and confirm that FlexiLayout Studio finds the field name on all the images.
