# Source: https://docs.chatling.ai/chatbot/builder/blocks/inputs/form.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatling.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Form Block

> Learn about the Form input block and how to set it up in the Builder.

The Form block is used to collect multiple pieces of information from users in a structured way. You can use this block to create forms for lead generation, user feedback, surveys, and more.

You can add multiple fields to the form and configure each field to collect different types of information, such as text, email, phone number, and more.

<img src="https://chatling-assets.b-cdn.net/form-input-block-preview.jpg" alt="Form block preview" width="400" />

## Configuration

The Form block has the following configuration options:

* **Fields**: Add and configure the fields you want to include in the form.
  * **Label**: The label of the field to indicate what information is being collected.
  * **Type**: Type of the field, such as Text, Email, Number, etc. This prevents users from entering invalid data.
  * **Store user input in variable**: The variable where the user's response to the field will be stored.

<img src="https://chatling-assets.b-cdn.net/form-input-block-editor.jpeg" alt="Form block editor" width="300" />