# 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/hH35S7PCIkY6xMr6M0LL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/QX4voL1Quhbg0bbkNWL2" 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/guardian-dev/guardian/standard-registry/schemas/available-schema-types/table-data-input-field.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
