> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/guardian/standard-registry/schemas/available-schema-types/table-data-input-field.md).

# Table Data Input Field

A Table field lets you add CSV-based tables to documents:

* Import a CSV file
* Edit or fill it by manually
* Use table data in calculations with other fields
* View and download results in both Guardian and Indexer.

### 1. Add this field to a policy schema

Add a Table-type field to a schema so users can work with it in forms.

Setup:

* Choose Field type: Table.
* Multiple table fields can be added in one document.
* All table fields can participate in calculations (cross-table formulas, sums, links with other fields, etc.).

<figure><img src="/files/JuO5JerxNcKHaIG6Jyxb" alt=""><figcaption></figcaption></figure>

### 2. Use the field while filling the form

When added to a schema, the table is shown to a user during data entry.

Available options:

* Import CSV: load a file and preview the first rows/columns.
* Export/Download CSV: download the current state of the table.
* Edit: open the table in a dialog and update cells.
* Create manually: start with an empty table and fill it by hand.

<figure><img src="/files/DccLC5vZPgewqezV4oSt" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9SX4sJacaoZnmUETfHQ4" alt=""><figcaption></figcaption></figure>

### 3. Run calculations (inside a table and with other fields)

Use table data in document formulas and logic.

Options:

* Inside a table – row/column calculations (e.g., sums, averages, etc.).
* With other form fields – via:
* AutoCalculate field (automatic calculation)
* Custom Logic Block (custom rules/logic)

<figure><img src="/files/VVpwVVqEWq0NviFdW1mL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2fmBD4x6pYd3Y8gs8xeA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/nW4QpmrhZ2CEmwouIvBW" alt=""><figcaption></figcaption></figure>

### 4. Save a prefilled table as a Draft

Save an unfinished form with imported/entered table data and return to it later.

<figure><img src="/files/KqXZbZBy49Ibjh4ZKtyW" alt=""><figcaption></figcaption></figure>

### 5. View and download results in document view

What it does:

* In Guardian, VC document view shows tables and calculated values.
* In Indexer, the same table is available for viewing and downloading.

<figure><img src="/files/UcnxYBJ3sRT2dpPwwiWl" alt=""><figcaption></figcaption></figure>

### 6. Limits and performance

* If the table size exceeds 10 MB, manual editing in the UI is not available.
* To edit:, download the CSV, update it externally,then re-import.
* Calculations still work above 10 MB, but:
* Performance may be slower
* Preview is limited to the first rows/columns

<figure><img src="/files/a4KzMTtcU7PF5XyXQnZl" alt=""><figcaption></figcaption></figure>

## Demo Video

[Youtube](https://youtu.be/m3waGJ7qgs4?si=0bEJusqaQ2hPEU4t\&t=121)
