# Form in Edit Mode

{% 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: [*boolean (true/false)*](/app-editor/page-flow/references/value-types.md)
{% endhint %}

Use the **`Form in Edit Mode`** block to determine if the form is being used to edit exiting data (the value is *true*) or to add new data (the value is *false*).

<div align="left"><figure><img src="/files/tYLX9iFLe2NMQr0bSRMY" alt="" width="239"><figcaption><p>Form in Edit Mode 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.
{% endhint %}


---

# 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-in-edit-mode.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.
