# Set Field Input Value

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

Available in: Page Flow

Toolbox Category: Form

Block Type: [Regular](/app-editor/page-flow/block-anatomy.md#regular-block)
{% endhint %}

The **`Set Field Input Value`** block is used to set the value of the specified field input of the form.

<div align="left"><figure><img src="/files/BQYLVvpy7a5r6SS4CFgO" alt="" width="365"><figcaption><p>Set Field Input Value block</p></figcaption></figure></div>

The block consists of the following (from left to right):

* *Field ID*: [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) of type [text](/app-editor/page-flow/references/value-types.md) that specifies the Field Identifier (FieldID) of the form field.
* *Value*: [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) of type [text](/app-editor/page-flow/references/value-types.md) that specifies the value to be set.

{% 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.
* The behavior of this block is similar to the [Set Input Value](/app-editor/page-flow/toolbox-blocks/set-input-value.md) block, with the difference being that this block refers to the field identifier and not the element.
  {% endhint %}

***

## Usage Example

The image below shows an example of the **`Set Field Input Value`** block. Here the value of the *FirstName* field input will be set to *John*.

<div align="left"><figure><img src="/files/6FjRuR2HhqFuHqUqbpmw" alt="" width="563"><figcaption><p>Example of the Set Field Input Value block</p></figcaption></figure></div>

The result of the above example can be seen below:

<figure><img src="/files/P0Fj8NrfM2MMo6JgJ642" alt=""><figcaption><p>Result of the example for Set Field Input Value block</p></figcaption></figure>


---

# 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/set-field-input-value.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.
