# Form Data

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

Available in: Page Flow

Toolbox Category: Form

Block Type: [Output](/app-editor/page-flow/block-anatomy.md#output-block)

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

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

<div align="left"><figure><img src="/files/zjuIrUfXG4MlrvW34Rx3" 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](/app-editor/page-editor/working-with-forms.md) to learn about how forms work.
* This block only works within the [Form Events block's](/app-editor/page-flow/toolbox-blocks/form-events.md) *Post-Validate Tasks*, *Submit Tasks*, *Success Tasks* and *Error Tasks* [flow parameter](/app-editor/page-flow/block-anatomy.md#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](/app-editor/page-flow/toolbox-blocks/form-events.md) *Submit Tasks* [flow parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters).&#x20;

<figure><img src="/files/nR8VNVybpmo2QkTYEPPk" 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](/app-editor/page-flow/block-anatomy.md#value-parameters) of the Execute API Call block.


---

# 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://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/form-data.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.
