# Form Data

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Form

Block Type: [Output](https://docs.zingy.ai/app-editor/block-anatomy#output-block)

Output Type: [*object*](https://docs.zingy.ai/app-editor/page-flow/references/value-types)
{% endhint %}

The **`Form Data`** block provides an [*object*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) representing the value of the fields input by the user. This block is meant to be used within the [Form Events block's](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/form-events) *Post-Validate Tasks*, *Submit Tasks*, *Success Tasks* and *Error Tasks* [flow parameter](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters) context.

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2F0awjyEDAPBqQcYIoc47r%2Fimage.png?alt=media&#x26;token=6963d4b1-1824-4372-a7f4-a91fd5defe9c" alt="" width="157"><figcaption><p>Form Data block</p></figcaption></figure></div>

{% hint style="warning" %}

* This block only works when used in *Form* type pages. See [Working With Forms](https://docs.zingy.ai/app-editor/page-editor/working-with-forms) to learn about how forms work.
* This block only works within the [Form Events block's](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/form-events) *Post-Validate Tasks*, *Submit Tasks*, *Success Tasks* and *Error Tasks* [flow parameter](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters) context.
  {% endhint %}

***

## Usage Example

The image below shows an example of the **`Form Data`** block used inside the function *sendFormDataToMyCustomPlace*, which is invoked in the context [Form Events block's](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/form-events) *Submit Tasks* [flow parameter](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters).&#x20;

<figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FQDwCB7CB1If2i4VHa1zO%2Fimage.png?alt=media&#x26;token=75546e63-1479-457a-9e5d-38eb2d14bd1e" alt=""><figcaption><p>Example of Form Submit Complete</p></figcaption></figure>

In the above case, the **`Form Data`** block connected to the the *Data* [value parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of the Execute API Call block.
