> For the complete documentation index, see [llms.txt](https://docs.stammer.ai/stammer.ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/leads-legacy/lead-collection-form-fields.md).

# 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>
