> For the complete documentation index, see [llms.txt](https://support.agentfire.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.agentfire.com/spark-editor/lead-forms/editing-a-lead-form.md).

# How to Edit a Form on Your Website

Change a form on your website: pick a ready-made form or build your own fields, make fields required, choose what happens after someone submits, and set lead type and tags.

Every form on your website is a **Lead Form** block. You change it in the Spark Editor on the page where the form is.

## Open the form's settings

{% stepper %}
{% step %}

### Point at the form

Open the page in the editor. Point at the form until the blue **Lead Form** label shows, then click the pencil next to it.

![The Lead Form label and pencil under a contact form](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-8590178c56f6bc95240e6f729082396556d04686%2Fleadform-1-pencil.png?alt=media)
{% endstep %}

{% step %}

### Use the Content tab

The settings open on the right, on the **Content** tab, in four sections: **Lead Form**, **Form Settings**, **Form Appearance** and **Form Notifications**.
{% endstep %}
{% endstepper %}

## Ready-made or custom form

Under **Lead Form**, **Type Of Form** has two choices.

![Type Of Form set to Pre-built Form, with Contact Form selected](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-364880ec628f0906851d0f83b7c66f8ca4919b62%2Fleadform-2-type.png?alt=media)

| Type               | What it means                                                                                                                                                  |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Pre-built Form** | A ready-made form you pick in **Select A Form**, like Contact Form, Request a Seller Guide, Open House or Schedule A Call. You can't add or remove its fields. |
| **Custom Form**    | You choose every field yourself.                                                                                                                               |

{% hint style="warning" %}
Switching a form to **Custom Form** doesn't copy its existing fields. You start with one empty field and rebuild the form, including first name, last name, email and phone. Nothing changes on your live site until you click **Save**.
{% endhint %}

## Change a pre-built form

In **Form Settings**, a pre-built form has these options:

* **Phone Number**: **Disabled**, **Optional** or **Required**.
* **Display**: the form only, or with social sign-in buttons.
* **Submit Action**, **Button** and **Disclaimer** (below).

## Build a custom form

{% stepper %}
{% step %}

### Add your fields

Under **Form Settings** > **Custom Form Fields**, click a field to open it, or click **Add New Field** for another one.

![Custom Form Fields with one empty field and the Add New Field button](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-5bb4e3e6997273018acf58aba4a8cf9858ed2f86%2Fleadform-3-custom-empty.png?alt=media)
{% endstep %}

{% step %}

### Choose the field type

Pick the **Field Type**. Choose the type that matches the information, not just the label. For example, use **Email** for an email address and **Full Name** for the person's name, so it reaches Lead Manager and your CRM in the right place.

![The Field Type dropdown on a custom field](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-eca0cd0287ed505246d8c2ac4cdf37b43f1e3743%2Fleadform-4-field.png?alt=media)

Field types include Text, Textarea, Email, Phone Number, Full Name, Select Dropdown, Checkbox, Checkbox Group, Date, Time, Address and Address with Autocomplete.
{% endstep %}

{% step %}

### Name it and make it required

Give it a **Field Name**, choose its **Column Width**, and pick whether to show a **Label** above it or a **Placeholder** inside it. Turn on **Required** if people must fill it in.

![The Required toggle on a custom field](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-25c0a04ac39a0fd1d038b8f7ae0f05e77d4ea0b5%2Fleadform-5-required.png?alt=media)
{% endstep %}
{% endstepper %}

## What happens after someone submits

Under **Form Settings** > **Submit Action**, choose **Show Confirmation Message** to show a message on the same page, or **Redirect to new URL** to send people to another page, like a thank-you page.

![Submit Action set to Redirect to new URL with a Redirect URL](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-1cdf32934366f3f8ac2b7491995ebced43736928%2Fconv-1-redirect.png?alt=media)

If you redirect, check that the page in **Redirect URL** exists. Otherwise people land on a "page not found" error after submitting, even though their lead came through.

## Lead type, tags and who gets the lead

Under **Form Notifications** > **Integrations**:

* **Lead Type**: **General**, **Buyer** or **Seller**.
* **Lead Tags**: tags added to every lead from this form, which also go to your CRM. See [How to Customize Tags on Your Lead Form](/spark-editor/lead-forms/how-to-customize-tags-on-your-lead-form.md).
* **Assigned Type** and **Assign Agent - Team Member**: send this form's leads to a specific agent or office.

![Lead Type and Lead Tags under Integrations](https://2039430885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq65vhH2v4k5rpDOha9Vm%2Fuploads%2Fgit-blob-a9f8958d5e4fefb6aa2e6b8c90e1b7831809af2c%2Fleadform-6-type-tags.png?alt=media)

**Add admin CC's** sends a copy of each lead notification to extra email addresses.

## Save and test

Click **Save** at the top right. Saving puts the form live right away. Then fill in the form yourself and check that the lead shows in **Leads** > **Lead Manager**, and in your CRM if you have one connected.

## Common Questions

<details>

<summary>Leads come in without a first or last name.</summary>

The form is probably using a **Text** field for the name. Change it to the **Full Name** field type, save, and send a test lead.

</details>

<details>

<summary>I made the phone number required, but another form still doesn't ask for it.</summary>

Each form has its own settings. Change the phone setting on each form, on each page where it shows.

</details>

<details>

<summary>Can I save my custom form to reuse on other pages?</summary>

No. Custom forms can't be saved as a new pre-built form. To use one on another page, build it again there, or email <support@agentfire.com> for help.

</details>

<details>

<summary>How do I change the consent or SMS opt-in wording?</summary>

See [How to Add SMS Opt-In Language to Your Website Forms](/integrations/lead-manager/crm-opt-in-language.md).

</details>

<details>

<summary>Where do I change the email people get after submitting?</summary>

Under **Form Notifications**, pick an **Auto-Response Template**. You edit the templates themselves in **Notification Settings** (the link is right there).

</details>
