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

# On Field Control Activate

> Respond to field activation with the On Field Control Activate event, which passes the newly active field to FlexiCapture scripts as IFieldControl.

## When it is launched

The script is launched upon activating a field.

## Parameters

| **Name** | **Type**                                                             | **Access** | **Description**     |
| -------- | -------------------------------------------------------------------- | ---------- | ------------------- |
| Context  | [IFieldControl](/flexi-capture/appendix/scripts-shell/ifieldcontrol) | Read/write | The activated field |

<Note>
  You cannot activate a different field by this script.
</Note>
