# Popup Form Data

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

Available in: Page Flow

Toolbox Category: Action

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 %}

**`Popup Form Data`** is an [output block](https://docs.zingy.ai/app-editor/block-anatomy#output-block) that provides the data entered by the user when using the [Show Popup Form](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/show-popup-form) block. The output is of type [*object*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) and is compatible with [Value Parameters](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of type [*object*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) or of type [*any*](https://docs.zingy.ai/app-editor/page-flow/references/value-types).

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FwwZRxheTdgioTcDon97z%2Fimage.png?alt=media&#x26;token=7cfe379b-6574-472e-af0f-1a8709b4c754" alt="" width="295"><figcaption><p>Popup Form Data block</p></figcaption></figure></div>

{% hint style="warning" %}
The Popup Form Data block only works when used inside the *Save Success Tasks* and/or the *Form Close Success Tasks* [flow parameters](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters) of the [Show Popup Form](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/show-popup-form) block.
{% endhint %}

***

## Usage Example

The image below shows an example of the Popup Form Data block used inside the *Form Close Success Tasks* [flow parameter](https://docs.zingy.ai/app-editor/block-anatomy#flow-parameters) of the [Show Popup Form](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/show-popup-form) block.

The [Set Content block](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-content) is used to set the content of an element on the page to the `Name` property of the object representing the data entered by the user.

<figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FxYn0emzaTqC1JkbdhRpP%2Fimage.png?alt=media&#x26;token=1b08bbaf-6a9c-482a-bf89-32560b79b354" alt=""><figcaption><p>Example of Popup Form Data block</p></figcaption></figure>
