# Set Field Input Value

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

Available in: Page Flow

Toolbox Category: Form

Block Type: [Regular](https://docs.zingy.ai/app-editor/block-anatomy#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="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FBSM2lWFCaRGzNH92RbEe%2Fimage.png?alt=media&#x26;token=52388aa1-4213-4810-a0c4-5b040809171c" 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](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of type [text](https://docs.zingy.ai/app-editor/page-flow/references/value-types) that specifies the Field Identifier (FieldID) of the form field.
* *Value*: [Value Parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of type [text](https://docs.zingy.ai/app-editor/page-flow/references/value-types) that specifies the value to be set.

{% 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.
* The behavior of this block is similar to the [Set Input Value](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/set-input-value) 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="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2F5fGRhhOteTvbylcuNCuD%2Fimage.png?alt=media&#x26;token=1a157897-8bfb-4916-9ef5-60695ccbf3c8" 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="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2Fjqf4bzii7PqhDzNFcndr%2Fimage.png?alt=media&#x26;token=87a90b2d-418c-4803-8bda-26b85fe04d33" alt=""><figcaption><p>Result of the example for Set Field Input Value block</p></figcaption></figure>
