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

# Document Definition fields

> Mark up Document Definition fields in ABBYY FlexiCapture: create text, checkmark, barcode, picture, and table fields and configure their properties.

**Fields** are intended for data extraction.

To work with fields in the Document Definition editor, switch to Field Regions mode by clicking the <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/Templ_fields_mode.gif?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=a0a2bbed16071ec465b185b5f69b05c7" alt="" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="17" height="20" data-path="images/flexi-capture/Templ_fields_mode.gif" /> button.

All regions on the image from which you intend to capture data must be marked up as fields. Data in these fields will be recognized and recognized values can then be exported.

Fields have names, which are displayed in the **Document Structure** pane. Normally, a field will have a corresponding region on the image, but you can also create fields without regions (e.g. to store interim results).

The program can recognize the following types of fields:

| **Field**                       | **Toolbar button**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text entry field                | <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/Text.gif?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=3ede1d8a318da7ede5aa75aee9963314" alt="" width="18" height="18" data-path="images/flexi-capture/Text.gif" />                                                                                         |
| Checkmark                       | <img src="https://mintcdn.com/abbyy/IFr-A2MDVJd80FDs/images/flexi-capture/Checkmark.gif?fit=max&auto=format&n=IFr-A2MDVJd80FDs&q=85&s=b9943e502d8e6cace385e7b8fee94d80" alt="" width="18" height="18" data-path="images/flexi-capture/Checkmark.gif" />                                                 |
| Checkmark group                 | <img src="https://mintcdn.com/abbyy/IFr-A2MDVJd80FDs/images/flexi-capture/Checkmark_group.gif?fit=max&auto=format&n=IFr-A2MDVJd80FDs&q=85&s=1952457a5b5151b154fe9a29d83331ff" alt="" width="18" height="18" data-path="images/flexi-capture/Checkmark_group.gif" /> |
| Barcode                         | <img src="https://mintcdn.com/abbyy/39LtOHLEp1q7pm1x/images/flexi-capture/Bar-code.gif?fit=max&auto=format&n=39LtOHLEp1q7pm1x&q=85&s=f264b82e96bbdcc15252b7bbfff7a6c5" alt="" width="18" height="18" data-path="images/flexi-capture/Bar-code.gif" />                                                         |
| Picture                         | <img src="https://mintcdn.com/abbyy/mpS3pcxC_lkohQUS/images/flexi-capture/Picture.gif?fit=max&auto=format&n=mpS3pcxC_lkohQUS&q=85&s=4794c746e138563a18fc85596b76e9df" alt="" width="18" height="18" data-path="images/flexi-capture/Picture.gif" />                                                                 |
| Table                           | <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/Table.gif?fit=max&auto=format&n=XVEmG3cTpHwMKf5X&q=85&s=80bff850971bb163f34c71676fd260ea" alt="" width="18" height="18" data-path="images/flexi-capture/Table.gif" />                                                                                 |
| Region for field without region | <img src="https://mintcdn.com/abbyy/mpS3pcxC_lkohQUS/images/flexi-capture/No_region.gif?fit=max&auto=format&n=mpS3pcxC_lkohQUS&q=85&s=9b60a6dbdfe96ca5f36e3cbf5a7c7e6a" alt="" width="19" height="18" data-path="images/flexi-capture/No_region.gif" />                                                 |
| Non-recognized region           | <img src="https://mintcdn.com/abbyy/mpS3pcxC_lkohQUS/images/flexi-capture/Non_recognized.gif?fit=max&auto=format&n=mpS3pcxC_lkohQUS&q=85&s=3f8e9b0aa3edcb9e5bb7a69d42f0b06b" alt="" width="19" height="18" data-path="images/flexi-capture/Non_recognized.gif" />         |

## To create a field:

1. Select the Field Regions mode.
2. Select the tool for creating a field of the required type.
3. Position the cursor in the corner of the field, hold down the left mouse button, and drag the cursor diagonally to the opposite corner\
   *or*\
   hold down the Shift key and click anywhere in the region of the field.

A frame will appear around the region of the field. The color of the frame will depend on the type of the field.

The created field will be given a name based on the explanatory text that is closest to its region. This name will appear in the list of fields that is displayed when you click the Fields tab in the **Document Structure** pane.

The field will be given the default properties.

An alternative method for creating a field is as follows:

1. In the Document Definition editor, click **Edit** → **Create Field**, or click the Fields tab in the **Document Structure** pane, right-click anywhere in the pane, and click **Create Field**. Then select the field type.
2. In the **Field Properties** dialog box, specify field properties and click **OK**.
3. The new field will be added to the list. It will be marked with a red asterisk indicating that this field has no region.
4. To create a region for the field, click the <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/Templ_region_mode.gif?s=6727af4af012c810164955d2ab3efb01" alt="" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="21" height="20" data-path="images/flexi-capture/Templ_region_mode.gif" /> button on the toolbar and draw a region on the image. You will be prompted to select an appropriate field name from the pop-up list.

To exclude an area from recognition, draw a non-recognized region on the image using the <img src="https://mintcdn.com/abbyy/XVEmG3cTpHwMKf5X/images/flexi-capture/Templ_region_unrecog.gif?s=a09595291ec9b616d1503aba15984a16" alt="" style={{display:"inline-block",verticalAlign:"middle",margin:0}} width="21" height="20" data-path="images/flexi-capture/Templ_region_unrecog.gif" /> button.

## <a id="lock" />Marking up fields inside a region

Sometimes you may need to mark up fields inside another region. This may be necessary, for example, if you need to extract an entire region (e.g. a full address) into one field and a portion of that region (e.g. the city and state) into another field.

In order to be able to mark up fields inside a region, you need to lock the region first. To do this, right-click the region and select Lock on the shortcut menu. Once locked, a region cannot be moved, but you can adjust its borders. If you attempt to mark up fields inside a region that has not been locked, you will end up selecting the entire region.

<Note>
  When a document is closed, any locked fields will be unlocked.
</Note>

To have regions locked by default, select the Text segment option on the General tab of the field properties dialog box.

## Selecting multiple fields

FC includes a feature that lets you select multiple fields quickly if you want to edit a group of fields by type. To do this, click **Edit** → Select Fields by Type... or press Ctrl+Shift+F. In the dialog box that opens, specify the field types you want to select and click **OK**. To select all fields at once, click the Select All button.

## Field properties

It is very important that the properties of each field be configured correctly. Field properties affect the quality of recognition and determine whether their values will be exported and submitted to the operator for verification. Certain properties are very important for data recognition. For example, the marking method is important in the case of a text entry field: if it is specified incorrectly, some marking will not disappear during scanning and will not be separated from the characters, resulting in poor recognition quality.

Fields of each type have their own set of properties. When you create a field of a certain type on the image, it is given the default properties.

## How to change field properties:

1. Select the name of the field in the document structure or select the field region on the image, right-click the selection, and select Properties... on the shortcut menu.
2. Modify the field properties in the dialog box that opens.

## See also:

[Text entry fields](/flexi-capture/templates/field-text)

[Checkmarks](/flexi-capture/templates/field-checkmark)

[Checkmark groups](/flexi-capture/templates/field-checkmark-gr)

[Barcodes](/flexi-capture/templates/field-barcode)

[Pictures](/flexi-capture/templates/field-picture)

[Tables](/flexi-capture/templates/field-table)

[Field group](/flexi-capture/templates/field-group)

[Service fields](/flexi-capture/templates/service-field)

[Index fields](/flexi-capture/project-settings/indexing)

[Link to an existing field](/flexi-capture/templates/mirror-field)

[Fields without a region](/flexi-capture/templates/field-without-region)

[Creating a field with a non-rectangular region](/flexi-capture/templates/not-rectangle-region)

[Fields with several instances](/flexi-capture/templates/fields-instances)

[Fields with several regions](/flexi-capture/templates/fields-continue-reg)

[How to change a field name](/flexi-capture/templates/change-field-name)

[Copying, moving, deleting fields](/flexi-capture/templates/copy-move-delete-field)

[Exclusion of a region from recognition](/flexi-capture/templates/unrecognizable-region)
