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

# Autocorrection script

> Autocorrection scripts in ABBYY FlexiCapture convert field values and run context-independent format checks, set on the Data tab of field properties.

## What it does

This script allows you to convert field values and run context-independent format checks.

The script is configured on the Data tab of the field properties dialog box.

## Parameters

| **Name** | **Type**                                         | **Access** | **Description** |
| -------- | ------------------------------------------------ | ---------- | --------------- |
| Value    | [IValue](/flexi-capture/appendix/scripts/ivalue) | Read/write | Field value     |

<Note>
  If the Apply AutoCorrect only once after recognition option is selected, a format error message specified in **IValue.ErrorMessage** is not displayed because such errors can not be fixed.
</Note>

Unless this option is selected, the script can run several times even within a stage.

<Note>
  The script is launched when confirming a field in the Data Verification station.
</Note>

If classes and methods of an [external assembly](/flexi-capture/appendix/scripts/user-assembly) are used in the script, the assembly file must be attached on the .NET References  tab of the Document Definition properties.

## See also:

[Processing entered values](/flexi-capture/templates/text-processing)
