Skip to main content

Contact form

What it does​

A contact form on a page of its own, for example /customer-service. The visitor picks a subject, and the form asks only what that subject needs, such as a phone number for a callback. Your team gets an email at the store address that handles that subject, and the visitor gets a confirmation.

The Quick start puts the same template on your store's standard contact page. This recipe gives the form an address of its own instead, so you can link to it from anywhere.

Uses: the Contact Us template (Creating forms), Add a form to a page and Email notifications.

Contact form with Request a callback chosen under Subject: Phone and Preferred call time now appear below the Message box

Before you start​

  • Deliver Notifications is on, so WebForms sends email. See Quick start, and How email delivery works for what it holds back.
  • Your store's General Contact, Sales Representative and Customer Support addresses in Stores → Configuration → General → Store Email Addresses are mailboxes your team reads. The form sends its team emails to these three addresses.

Steps​

Create a Contact Form5:09Watch on YouTube

Create the form from the template​

  1. Go to Content → WebForms → Manage Forms.
  2. Click Add Form. The Start a new form page opens with Contact Us selected.
  3. In the panel on the right, look at the five emails under Emails: four go to your team and one to the customer. All five are switched on. Leave them on.
  4. Click Use This Template. The builder opens with your new form, named Contact Us, or Contact Us (2) and so on if that name is taken.

Name the form, switch it on and give it an address​

  1. Click Next: Settings at the right end of the top bar. The form's settings page opens with the hint "Final step: turn on Enable Form and click Save."
  2. In Name, enter the name you'll see in the admin, for example Customer Service.
  3. Turn on Enable Form (it changes to Yes).
  4. Click Placement in the list of sections on the left.
  5. In URL Key, enter the last part of the page address, for example customer-service.
  6. Click Save. The message "You saved the form." appears.

Your form is live at your store's address followed by the URL key. For other ways to place it, see Displaying forms.

Send a test message​

  1. Open the form's page on your store, for example /customer-service.
  2. Under Subject, select Something else.
  3. In Message, enter a short test message.
  4. Under Name, enter a first name and a last name.
  5. In Email, enter an address you can read.
  6. Select I agree to my details being stored and used to answer this request.
  7. Click Send message.

To see the form change with the subject, send it again with Request a callback. Phone and Preferred call time appear below Message, and Phone is required.

What you should see​

  • After Send message, the form is replaced by "Your message is with the right team. We answer by email, usually within one working day."

  • In Content → WebForms → Manage Forms, the form's row counts the new submission under All and Unread. The submission holds the subject, the message and the visitor's name and email. See Working in the Inbox.

  • WebForms sends the emails from a background job, so they arrive a little after the visitor clicks Send message:

    Subject chosen Team email Sent to Confirmation to the visitor
    Something else "Enquiry:" and the visitor's name General Contact "We have your message about Something else"
    Request a callback "Callback:", the visitor's name and the call time Sales Representative "We have your message about Request a callback"

On the test store the form worked on both the Luma and the Hyvä store views, each in that theme's own style.

Make it yours​

  • Change who gets each email. Each team email has a condition on Subject. See Recipients and conditions.
  • Change the subjects. See Options. If you rename or remove an option, check the email conditions and the rules that use it.
  • Show the form somewhere else, such as the store's contact page, a CMS page or a popup. See Displaying forms.
  • Choose the country the Phone field starts with. As the template ships, Initial Country is Auto. In the builder, click Phone, select your country in Initial Country, then click Publish Changes and Publish. See Phone field.
  • Change the thank-you text. See Confirmation messages.

Limits​

  • The team emails go to the store-wide General Contact, Sales Representative and Customer Support addresses. If you change those addresses, they change for the whole store, not only for this form.
  • Order question, Delivery problem, Payment or refund and Complaint also show an Order field, and their team email goes to Customer Support. Product question shows a Product field, and its team email goes to Sales Representative.
  • The Phone field starts with Initial Country on Auto, which sends each visitor's IP address to an outside service, ipinfo.io, when the form opens; to avoid that, select your country in the field's Initial Country in the builder.

Troubleshooting​

  • The page shows "Web-form is not active." Enable Form is still No. Open the form's settings, turn it on and click Save.
  • The address shows a "page not found" page. Check the URL Key in Placement and that you clicked Save. See Form does not appear on the page.
  • An email doesn't arrive. See Notification email not received.

What's next​

Applies to WebForms 4Last reviewed November 2, 2026