# Lead Collection Form Fields

## Predefined Fields

Create your own custom field OR pick a predefined field to auto-fill its corresponding values.

<figure><img src="/files/YP89j2MFzP0TEROPMqa3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8AmLCVhIx2EowPukUucC" alt=""><figcaption></figcaption></figure>

## Collection Method

Select the method used for collecting data.

<figure><img src="/files/MJBnMnnKQeYgkCH1PcUJ" alt=""><figcaption></figcaption></figure>

### In Form Collection

This will create a custom form that is shown to users before a conversation is started with a chatbot.

### In Chat Collection

This will train the AI chatbot to ask the user these questions inside the chat conversation.&#x20;

***

## Field Label

Enter the label to be displayed for the field and will be shown to users.

<figure><img src="/files/qwyrucmFtXGwK6e501uO" alt=""><figcaption></figcaption></figure>

## Field Key

An auto-generated unique key for the field. This will be used as a key in lead collection data, e.g., 'first\_name'. (Not shown to users)

<figure><img src="/files/U9cRqCOlryL9CAkHVL9t" alt=""><figcaption></figcaption></figure>

## Field Type

Select the type of the field. (This is only for form based questions)

<figure><img src="/files/bZ6MBw2R08jAZYvCuqrg" alt=""><figcaption></figcaption></figure>

## Field Placeholder

Enter placeholder text to be displayed in the field.  (This is only for form based questions)

<figure><img src="/files/IKmXviPgYq0cVgP0vXMI" alt=""><figcaption></figcaption></figure>

## Field Order

Enter a positive integer to determine the display order of this field in the form. Fields with lower numbers will appear first. (This is only for form based questions)

<figure><img src="/files/9I1RFhl1M5cOAIc87JBd" alt=""><figcaption></figcaption></figure>

## Is Required

Check if the field is mandatory. (This is only for form based questions)

<figure><img src="/files/M7ng2yB5B65w9MVn3uFW" alt=""><figcaption></figcaption></figure>

## Example of In Chat Lead Questions

<figure><img src="/files/P3E3SNZn3GwRwqlLIgRT" alt=""><figcaption></figcaption></figure>

## Example of In Form Lead Questions

<figure><img src="/files/S3h3uiwtj5ZBorg2WnAU" alt=""><figcaption></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.stammer.ai/stammer.ai-docs/chat-ai-agents/leads-legacy/lead-collection-form-fields.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.
