Skip to main content
How-to

Contact and Lead Capture Forms

Overview​

This guide walks through building a contact capture form on a UltraCart StoreFront page, for use cases like a Due Diligence intake form, a Meeting Request form, or any lead capture scenario that does not involve a purchase.

When a visitor submits the form, UltraCart emails the captured fields to one or more designated recipients. Submissions can also be tied to CRM contact records once your CRM setup is in place.

What you will build: A Due Diligence intake page at a clean custom URL (e.g., /due-diligence) with fields for name, email, phone, and a message, configured to email submissions to your team.


Contact Form vs. Survey: Which to Use​

The Email Form Wizard builds a simple, single-purpose form that emails its submissions to your team. It fits a short contact or lead capture form, like the Due Diligence example on this page.

For a more complex or custom form, such as a registration form with several question types, conditional logic, multiple pages, or responses you want to store and query later, use the Visual Builder Survey element instead. Surveys are built in SurveyJS, and responses land in the uc_surveys BigQuery table. They also work with Storefront Communications Flows the same way contact forms do. See Customer Surveys for how to build one.


Send an Automatic Reply to the Person Who Submits​

The Email Form sends each submission to the users you select in its settings. It has no setting to send an automatic reply back to the person who submitted. There are two ways to give visitors a confirmation such as "We received your message and will reply soon".

Option 1: Auto reply from your own mailbox​

This is the simpler option. Each Email Form notification arrives from UltraCart Web Form <noreply@ultracart.com>, with the form's subject (for example, Contact Us) and the visitor's address as the Reply-To. This works when the form's E-mail field uses the input name replyTo, as the Email Form Wizard and the Contact Us page form do (see the field table in Configure Form Fields).

In the mailbox that receives these notifications, create an auto reply rule that matches the form's subject and sends your confirmation text. Your team keeps receiving every message by email.

Test it before you rely on it. Submit the form with your own personal email address and confirm the auto reply arrives there. Some mail systems reply to the sending address (noreply@ultracart.com) instead of the Reply-To address, and in that case the visitor never sees the reply.

Option 2: Rebuild the form as a Survey with a Flow​

If you want UltraCart to send the confirmation, with your own branding and wording, rebuild the form as a Survey element and attach a Flow that emails the submitter when they complete it.

Before you switch, know the trade-off: Survey submissions are not emailed to you the way Email Form submissions are. They are stored in your account and viewed through reporting (see You cannot see who submitted a survey or form). If your team works contact messages from an inbox, keep the Email Form.

Step 1: Create the survey JSON​

In the StoreFront File Manager, create /contact-us.json:

{
"title": "Contact Us",
"pages": [
{
"name": "page1",
"elements": [
{"type": "text", "name": "firstName", "title": "First Name", "isRequired": true},
{"type": "text", "name": "lastName", "title": "Last Name"},
{"type": "text", "name": "email", "title": "Email Address", "inputType": "email", "isRequired": true},
{"type": "comment", "name": "message", "title": "Message", "rows": 5, "isRequired": true}
]
}
],
"showTitle": false,
"completeText": "Send",
"completedHtml": "<p>Thanks, we received your message and will reply soon.</p>"
}

The question names email, firstName, and lastName are reserved and must be spelled exactly (see Reserved Question Names). email identifies the submitter so the Flow can send to them. firstName makes {{firstName}} available in the email.

Step 2: Replace the form on your Contact Us page​

  1. Open the Contact Us page in the Visual Builder.
  2. Remove the existing form block.
  3. Click ADD NEW ELEMENT, search for survey, and add the Survey element.
  4. In the Survey element settings, set Name to contact-us, Type to PII, and SurveyJS JSON File to /contact-us.json.
  5. Save.

Step 3: Create the confirmation Flow​

  1. Go to StoreFronts, select your StoreFront, then Communications → Flows, and click New Flow.

  2. For What will trigger this flow?, choose Survey - When someone has completed a survey, and set the survey name filter to contact-us. It must match the Survey element's Name exactly.

  3. Add an email step with your confirmation text, for example:

    Hi {{firstName}},
    Thanks for contacting us. We received your message and will reply as soon as we can.
  4. Decide on Allow Concurrent Enrollment? and Re-entry. With concurrent enrollment off, a person who submits twice in a short window gets only one confirmation (see The Flow email is skipped on repeat submissions).

  5. Activate the Flow with Review and Activate.

note

The Conversations survey trigger requires a minimum account age and activity level. If it is not available in your account, contact UltraCart support to confirm eligibility.

Step 4: Test with a live submission​

Submit the form from a private window with an email address you have not used for testing before. Confirm the Flow's Total Started count increases and the email arrives. Test Flow and Test Emails do not exercise the survey name match, so a live submission is the real test (see A successful test send does not prove the trigger fires).

Seeing who submitted​

Use the AI Report Builder, or connect survey data to Google Sheets. Both are covered in Troubleshooting Survey and Form Flows.


Prerequisites​

  • Access to the UltraCart admin panel at secure.ultracart.com

  • An active StoreFront configured for your account

  • At least one UltraCart user with the Customer Feedback email notification enabled (required to receive form submission emails)

info

Note: To enable Customer Feedback notifications for a user, go to Configuration > Users, select the user, and check Customer Feedback under Email Notifications.


Create a New StoreFront Page​

  1. From the UltraCart admin main menu, navigate to StoreFronts.

  2. Select the StoreFront you want to add the form to.

  3. Click Pages in the left sidebar.

  4. Click Add Page.

  5. Give the page a name. This is an internal label only, for example Due Diligence Form.


Set a Custom URL Slug​

The URL slug is the portion of the address after your domain. Keep it short, lowercase, and hyphen-separated.

  1. In the page settings, locate the URL / Path field.

  2. Enter your desired slug, for example due-diligence

  3. The resulting URL will be: https://yourdomain.com/due-diligence

Guidelines for slugs used in marketing:

  • Use hyphens, not underscores (due-diligence not due_diligence)

  • Keep it under 30 characters

  • Avoid version numbers or dates. These URLs may appear in print materials and should remain stable


Add the Form to Your Page​

UltraCart StoreFront pages are built using the Email Form Wizard or via direct template editing. The Email Form Wizard is the recommended starting point.

  1. From the page editor, open the Email Form Wizard (found under Content or Widgets depending on your theme).

  2. The wizard will insert a pre-built form block into your page.

note

Important: The Email Form Wizard generates a form that emails submissions to recipients you configure. It does not write to a database by default. If you need a searchable submission history, configure CRM contact creation as an additional step.


Configure Form Fields​

The visual builder form block uses LABEL elements. Each LABEL contains both the visible label text and a child INPUTTEXT (or INPUTTEXTAREA) element. To add a field, duplicate an existing LABEL from the Hierarchy panel's ... context menu, then update the label text and input settings.

The Due Diligence form uses the following field configuration:

Label TextInput NameInput TypeRequired
NamenameTextYes
E-mailreplyToEmailYes
Phone NumberphoneTextNo
How did you hear about us?how_did_you_hearTextNo
Message(textarea)TextareaNo
info

Note: UltraCart's visual builder INPUT TYPE options are: Text, Email, Number, Password, URL. There is no tel type, so use Text for phone number fields.

To add a field using the Hierarchy panel:

  1. Open the Hierarchy panel from the right sidebar.

  2. Expand the form's CONTAINER-CONTACT-FORM > SECTION > ROW > COLUMN > FORM.

  3. Click ... next to an existing LABEL and choose DUPLICATE.

  4. Select the new LABEL and update its TEXT setting (the visible label). Click the gear icon on the selected LABEL to open its settings panel.

  5. Expand the LABEL and select its child INPUTTEXT to update INPUT NAME, INPUT TYPE, and INPUT REQUIRED.

The LABEL settings panel. The TEXT field sets the visible label text displayed above the form input:

label-settings-panel.png

The INPUTTEXT settings panel. INPUT NAME maps to the email field name, INPUT TYPE controls validation, and INPUT REQUIRED marks the field as mandatory:

inputtext-settings-panel.png

For the Meeting Request form variation, add a second set of contact fields for cases where the submitter is requesting a meeting on behalf of multiple people. Use distinct input names (e.g., name2, replyTo2, phone2).


Set Up Email Notifications​

  1. In the form block settings, locate Notification Settings (or Email Settings).

  2. Set the Email Subject, for example Due Diligence Form Submission.

  3. Under Recipients, select the UltraCart user(s) who should receive submission emails.

  4. Set the Redirect URL, the page the visitor is sent to after submitting. Recommended: a simple thank-you page.

info

Tip: Send a test submission to yourself before publishing to confirm the email arrives and the field values are formatted as expected.


Publish and Test​

  1. Click Save to save your page draft.

  2. Click Publish to make the page live.

  3. Navigate to your form URL in a private/incognito browser window and submit a test entry.

  4. Confirm you receive the notification email with all submitted field values.


Troubleshooting​

I am not receiving submission emails​

Symptoms: Form submits successfully but no email arrives.
Root Cause: The recipient user does not have Customer Feedback notifications enabled, or no recipient is configured.
Solution: Go to Configuration > Users, select the user, enable Customer Feedback under Email Notifications, then re-check the form's recipient list.

The form URL returns a 404​

Symptoms: Navigating to the custom slug returns a page not found error.
Root Cause: The page has not been published, or the slug contains a typo.
Solution: Return to StoreFronts > Pages, verify the slug matches what you are entering in the browser, and confirm the page status is Published.

The redirect after submission is not working​

Symptoms: After submitting, the visitor sees a blank page or an error.
Root Cause: The redirect URL is empty or points to an invalid path.
Solution: In the form's Notification Settings, set the Redirect URL to a valid page on your StoreFront (e.g., /thank-you).


Was this page helpful?