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

# IFields

> IFields collection in FlexiCapture scripts: manages IField objects and adds or deletes instances of recurring fields and table rows with AddNew and Delete.

## What it does

A collection of [IField](/flexi-capture/appendix/scripts/ifield) objects.

## Methods

<table width="100%"><thead><tr><th style={{textAlign: 'left'}}><p><strong>Definition</strong></p></th><th style={{textAlign: 'left'}}><p><strong>Description</strong></p></th></tr></thead><tbody><tr><td><p>AddNew( insertAt : int )</p></td><td><p>Inserts a new instance of a recurring field. The <strong>insertAt</strong> parameter specifies the position of the new instance in collection. The method allows you to create strings for a table block without region.</p><p>Cannot be used in script rules.</p><details><summary>Sample code</summary><pre><code>Document.Field( "Page 1\\\Address" ).Items.AddNew( 0 );</code></pre></details></td></tr><tr><td><p>Delete( what : Object )</p></td><td><p>Deletes the instance of a field or a table row. The <strong>what</strong> parameter can be the item to be deleted from the collection or its index.</p><p>Cannot be used in script rules.</p></td></tr></tbody></table>
