> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-landing-pages/ai-landing-pages-configuring-forms.md).

# AI Landing Pages - Configuring Forms

Step-by-step guide to managing forms in AI Landing Pages.

## Checking the Forms tab

When generating a page using the [automatic creation](https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-landing-pages/ai-landing-pages-creating-the-first-page.md), or importing code, the forms present will be automatically detected and displayed in the **Forms**. In this section, all forms found on the landing page are listed.

When a lead fills out one of these forms, it will be automatically created on the platform with the provided data or, if it already exists, it will be identified. From then on, all actions configured in the form will be executed, and the lead will start being tracked. This means that whenever they access a tracked link or a Sprinthub landing page (or any page with the tracking script installed), their activity will be recorded in the lead history, as well as the [UTM tags](https://docs.sprinthub.com/en/topics/system-settings/tracking/tracking-utm-tag.md) of the URL.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7OyUM4MUhPAX3fNZyU78%2Fimage.png?alt=media&amp;token=3125d835-0a3f-4e3f-8421-c3c8b911a606" alt=""><figcaption><p><em>Builder home page.</em></p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FZkdzLlEQjYlr6yT8Svrg%2Fimage.png?alt=media&amp;token=9473e812-e194-46cb-bad2-b044b396aa55" alt=""><figcaption><p><em>Forms tab.</em></p></figcaption></figure>

## Form Settings

In addition to renaming the form to make organization and use in automations easier, it is possible to adjust the following properties:

* **Kiosk Mode**: always creates a new lead, even if one already exists. Ideal when the form is filled out by a third party. **This mode prevents lead tracking**.
* **Overwrite information on repeated submissions**: replaces the lead's data with the most recent data whenever the form is resubmitted.
* **Automatically resolve conflicts**: automatically resolves data conflicts between leads (cannot be used together with the blocking option).
* **Block submission when a conflict occurs**: prevents the form from being submitted and displays a warning if there is a lead with the same unique fields.
* **Redirect on submit**: after submission, directs the lead to a specific page (e.g., “Thank you for your contact!”).
* **Unarchive lead on submit**: automatically unarchives archived leads that fill out the form.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FVmS7uwKKOJUeWaHkIujz%2Fimage.png?alt=media&amp;token=1ea688cd-39ab-474f-8661-1a1eac176e90" alt=""><figcaption><p><em>Form Settings.</em></p></figcaption></figure>

## Form Fields

The fields are identified automatically. For each one, it is necessary to define:

* the expected value type (text, number, phone, email, selector, etc.);
* the lead field that will be filled.

It is also possible to configure additional options according to the field type and define whether it will be required upon submission.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FoM0QssD8UGtpMg2M2V9o%2Fimage.png?alt=media&amp;token=22d30b64-a0c8-4898-b574-a1fea7973541" alt=""><figcaption><p><em>Form Fields.</em></p></figcaption></figure>

## Form Actions

It is possible to define which actions will be executed for the lead, such as: creating opportunities in a CRM pipeline, generating tasks, changing permissions or assignees, sending WhatsApp messages, among others.

If you want these actions to be executed only once per lead, even on repeated form submissions, check the option **“Execute actions only once per lead?”** how **Yes**.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fd3ld5zmm4DaxZPCBRcnJ%2Fimage.png?alt=media&amp;token=9d3cbdb4-cbf3-44a3-b335-bdb357ee9401" alt=""><figcaption><p><em>Form Actions.</em></p></figcaption></figure>

## Saving and publishing changes

After modifying the settings, go back to the **Preview** and click on **Save Changes** to record the changes.

Remember: saving the landing page **does not** automatically updates the published version. For customers to see the changes, it is necessary to click **Publish Version** on the landing page editing page. Always check which version is currently published.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FEfghJXLBT7uzRr2m6E0D%2Fimage.png?alt=media&amp;token=a3710e5f-c305-4204-bcc4-f0a1a20e963b" alt=""><figcaption><p><em>Saving changes.</em></p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FRjsvWBOMM1R8U9o6JFoG%2Fimage.png?alt=media&amp;token=4ac7a3e0-0dc2-44c5-bf8f-c6e051fba7b6" alt=""><figcaption><p><em>Landing page editing page.</em></p></figcaption></figure>
