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

# IFieldControl

> IFieldControl gives scripts access to a document field control on a FlexiCapture form: expand or collapse fields, lock editing, and walk the control tree.

Represents a control of the document field.

<Info>
  The object returns `null` for fields not involved in distributed verification.
</Info>

## Properties

| Name                | Type                                                                                  | Access     | Description                                                                                                                                                                                                                                  |
| ------------------- | ------------------------------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DeviceRect          | [IShellRect](/flexi-capture/appendix/scripts-shell/i-shell-rect)                      | Read-only  | The rectangle of the control.                                                                                                                                                                                                                |
| Field               | [IField](/flexi-capture/appendix/scripts/ifield)                                      | Read-only  | The document field.                                                                                                                                                                                                                          |
| FieldFullName       | string                                                                                | Read-only  | The full name of the field.                                                                                                                                                                                                                  |
| FieldRegionControls | [IFieldRegionControls](/flexi-capture/appendix/scripts-shell/i-field-region-controls) | Read-only  | The collection of field regions of the document. For fields that do not have regions, `null` is returned.                                                                                                                                    |
| First               | IFieldControl                                                                         | Read-only  | The first child control.                                                                                                                                                                                                                     |
| FormWindow          | [IFormWindow](/flexi-capture/appendix/scripts-shell/iformwindow)                      | Read-only  | The form window.                                                                                                                                                                                                                             |
| IsExpandable        | bool                                                                                  | Read-only  | If the property is set to `true`, the field can be expanded and collapsed on the form. Use this property to check whether the field is expandable before applying the `IsExpanded` property to it. For group fields, the property is `true`. |
| IsExpanded          | bool                                                                                  | Read/write | Indicates whether the group field is expanded. Lets you collapse or expand the field.                                                                                                                                                        |
| IsUserReadOnly      | bool                                                                                  | Read/write | Specifies whether the field is editable. If the property is set to `true`, editing the field is not allowed. If the property is set to `false`, the ability to edit the field depends on the Document Definition settings.                   |
| Last                | IFieldControl                                                                         | Read-only  | The last child control.                                                                                                                                                                                                                      |
| Next                | IFieldControl                                                                         | Read-only  | The next control.                                                                                                                                                                                                                            |
| Parent              | IFieldControl                                                                         | Read-only  | The parent control.                                                                                                                                                                                                                          |
| Prev                | IFieldControl                                                                         | Read-only  | The previous control.                                                                                                                                                                                                                        |
| TextEditor          | [ITextEditor](/flexi-capture/appendix/scripts-shell/itexteditor)                      | Read-only  | The field editor. For inactive fields, `null` is returned.                                                                                                                                                                                   |
