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

# Automatic detection of fields and static elements

> Detect fields and static elements automatically in the FlexiCapture Document Definition editor, including anchors, text fields, checkmarks, and regions.

## Automatic detection when adding an image:

When a page image is added, the program always detects anchors. If the image has standard anchors (such as black squares), these will be detected and marked. The program searches for text fields and checkmarks if the user has enabled the Text or Checkmarks options. The program performs automatic detection of text fields with a region and rectangular checkmarks particularly well. If entry fields on your form do not have a region, and checkmarks are inserted against a white background, they will normally need to be highlighted manually.

## Automatic detection in the window of the Document Definition editor:

For automatic detection in the window of the Document Definition editor, select the required mode (fields or static elements) followed by the menu item **Tools →** Autodetect Objects by Type.... Mark the types of fields or static elements to be detected automatically.

If you need to detect specific objects on the image automatically, select the required mode (fields or static elements) and click <img src="https://mintcdn.com/abbyy/39LtOHLEp1q7pm1x/images/flexi-capture/Autodetect.gif?fit=max&auto=format&n=39LtOHLEp1q7pm1x&q=85&s=fd4ffd469c7944549985323845de18e9" alt="" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="21" height="22" data-path="images/flexi-capture/Autodetect.gif" /> on the toolbar. If you click on the element it will be marked with a rectangle. The element type will be detected automatically.

## Automatic detection of a region:

For a field or static element region of a specific type to be detected automatically, proceed as follows:

1. Select the required mode (fields or static elements).
2. Select the type of the field or static element using the appropriate button on the toolbar.
3. Press the Shift key.
4. Left-click in the field or static element region.
