# Campaign forms: Creating lead capture forms

URL: https://help.hubhus.com/kb/campaign-forms-creating-lead-capture-forms
Category: Campaigns & Lead Management / Forms
Updated: 2026-11-04T15:09:53.633749+00:00

Summary: Access: Campaign settings → Campaign forms → + New campaign form . Configure: name, fields (regular, select, file), style, submit-on-enter. Form actions: validation, redirect on success (stay / URL / internal page), popup or inline success message. Get embed code via the &lt;/> icon. Key distinction: Campaign forms create NEW leads. For displaying data to existing leads, use Webpages instead.

Campaign forms create new leads in a campaign. Embed them on external websites as contact forms, or use them internally by logged-in users for manual lead registration.

## Get started in 4 steps

1. **Create the form**. Go to **Campaign settings → Campaign forms → + New campaign form**. Give it a descriptive name (e.g. "Website contact form"). Select **fields** (regular fields + select fields + file upload fields), set the style if needed, and choose whether pressing Enter submits the form.
2. **Configure form actions (success behavior)**. Click the **Actions** button on the form row. Set **validation** (field rules apply on submit: Yes), rejection message (show errors: Yes), and what happens on success: _Stay on page_ (with optional inline or popup message + custom HTML), _Redirect to URL_, or _Redirect to an internal campaign page_. Forms submit via Ajax - no page reload.
3. **Customize the HTML/CSS (optional)**. Click the **&lt;/> Content** button to open the code editor and customize layout, styling, or add JS behavior. Use the placeholder search to find dynamic field values. CSS can be added in the CSS section below the HTML editor.
4. **Get the embed code**. Click the **&lt;/>** embed icon on the form row to get the iframe + JavaScript embed code. Paste it on your external website where you want the form to appear. The form auto-resizes using iframeResizer.

**Read more**

Campaign forms vs. Webpage forms

- **Campaign forms:** Create NEW leads. Data flows INTO the system. Used for external contact forms, lead capture, newsletter signup.
- **Webpage forms:** Display data to EXISTING leads and collect additional data back. Used for quotes, invoices, feedback, information requests.

Multi-step workflows

Campaign forms can be step 1 in a chain. Set "Redirect to page on success" to:

- **Booking page:** Form creates the lead, booking form picks it up automatically → seamless lead + appointment flow
- **Webpage form:** Form creates the lead, webpage form loads with the new lead's context → multi-step data collection

## Related articles

- https://help.hubhus.com/kb/campaign-webpages-and-webpage-forms-displaying-data-to-leads
- https://help.hubhus.com/kb/creating-and-managing-booking-forms
- https://help.hubhus.com/kb/how-do-i-set-up-a-new-campaign
- https://help.hubhus.com/kb/how-do-i-create-custom-fields
- https://help.hubhus.com/kb/how-do-i-track-form-events-with-google-tag-manager
