# Form Submit Complete

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

Available in: Page Flow

Toolbox Category: Form

Block Type: [Terminal](https://docs.zingy.ai/app-editor/block-anatomy#terminal-block)
{% endhint %}

The **`Form Submit Complete`** block is used in custom forms (where no database table is attached), to signal back to the system that the submission of the form is complete. This block is used in the context of [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).

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FUrssFON6WMNuWyhcJ2Wk%2Fimage.png?alt=media&#x26;token=434fdfdc-05fc-4fdb-a89e-b8ac05b0c4e4" alt="" width="260"><figcaption><p>Form Submit Complete 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 has no effect when used with database-attached forms.
* Use this block in the context of the [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).
  {% endhint %}

***

## Usage Example

The image below shows an example of the **`Form Submit Complete`** 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, when the API call succeeds the [Set Form Event Status](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-form-event-status) block is used with the status of *OK*, following which the **`Form Submit Complete`** block is used.&#x20;

If the API call fails, the [Set Form Event Status](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-form-event-status) block is used again, but this time with the status of *ERROR*, and again we use the **`Form Submit Complete`** block to signal the completion.
