5 Forms Every Magento 2 Store Should Have (and How to Build Them)

Contact, request a quote, product enquiry, returns and feedback forms: which fields each needs and how to build custom forms in Magento 2 without code.

5 Forms Every Magento 2 Store Should Have (and How to Build Them)

Magento 2 ships with one form for shoppers: the Contact Us page. It is enough for a quick question, but most stores soon need more, such as quote requests from business buyers, questions about a specific product, return requests with photos and feedback after a purchase. This article covers the five custom forms almost every Magento 2 store should have, which fields each needs, and how to build them in the admin with a form builder instead of custom code.

Short answer: every Magento 2 store should have (1) a contact form, (2) a request-a-quote form, (3) a product enquiry form, (4) a returns or warranty request form and (5) a feedback or survey form. Magento Open Source only includes the first one. The other four take either a custom module or a Magento 2 form builder extension.

1. A contact form that sends questions to the right team

Every store has a contact page, but the built-in Magento 2 contact form has only four fixed fields (name, email, phone and message), and every message goes to the same email address. A better contact form asks one extra question, "What is your question about?", and routes the answer.

  • Fields: first and last name, email, a topic selectbox (order, product, wholesale, other), an optional order number and the message.
  • Routing: send messages to sales or support depending on the topic, so nobody has to forward emails by hand.
  • Spam protection: a honeypot field, a minimum fill-in time and Google reCAPTCHA keep bots out without annoying real customers.
A Magento 2 custom contact form with first name, last name, email, message and reCAPTCHA, built with Custom Form Builder

We compare the two options in detail in Magento's built-in contact form vs Custom Form Builder.

2. A request-a-quote form for B2B and large orders

Wholesale buyers, trade customers and anyone ordering in bulk rarely want to check out at list price. They want to describe what they need and get a price back. A Magento 2 request a quote form captures that lead with everything sales needs to reply in one go.

  • Fields: contact details, "You are: a private person or a business", company name, the products or service needed, quantity or budget, a deadline and a file upload for specifications or drawings.
  • Conditional logic: show the Company field only when the customer chooses "A business", so private buyers see a shorter form.
  • Multi-step layout: a long quote form feels shorter when it is split into steps (Details, Project, Message) with a progress bar.
Multi-step Magento 2 request a quote form with a progress bar and a Company field shown because the customer chose A business

Try it yourself on the request-a-quote demo form.

3. A product enquiry form on the product page

Shoppers with a question about size, materials, compatibility or delivery often leave instead of searching for your contact page. A Magento 2 product enquiry form puts an "Ask About This Product" button below Add to Cart, or a tab next to Details and Reviews, so they can ask without leaving the page.

  • Fields: name, email and the question. Nothing more: the product is known already.
  • Product context: the product name and SKU are saved with every enquiry and shown in the notification email, so you know exactly what the customer was looking at.
  • Targeting: show the enquiry form on every product, on selected categories, or only on selected products, such as made-to-order items.
Ask About This Product popup form opened from a Magento 2 product page

See it live on the enquiry button demo and the product tab demo.

4. A returns or warranty request form

Magento Open Source has no returns (RMA) module, so many stores handle returns by email and spend the first reply asking for the order number and a photo. A structured return request form collects that information up front.

  • Fields: order number, the product, a reason selectbox (damaged, wrong item, does not fit, warranty claim), a description and an image upload for photos of the damage.
  • Logged-in customers only: limit the form to customer groups such as General or Wholesale, so only account holders can send it.
  • Status updates: with My Account > My Submissions, customers can see their request and its status (New, Read, Replied) without emailing you to ask.

Uploaded photos deserve care: they can contain personal data and even the location where they were taken. Custom Form Builder stores uploads outside the public web folder and re-saves images, which removes hidden EXIF data such as the camera location.

5. A feedback or survey form

After a delivery, a short survey tells you what customers think while they still remember the order. Keep it to three or four questions so people finish it.

  • Fields: a star rating ("How was your order?"), a choice field ("How did you hear about us?") and an optional comment.
  • Campaign tracking: a hidden field that fills itself from a URL parameter such as ?utm_source=newsletter shows which email or campaign the answer came from.
  • Analysis: export the answers to CSV or Excel, one column per question, and sort them in a spreadsheet.
Magento 2 form field types on the storefront: star rating, select, checkbox group, date and file upload

Other forms worth adding when your store needs them: event registration (see the event registration demo), trade or wholesale account applications, job applications with a CV upload and catalogue or sample requests.

How to build custom forms in Magento 2

There are two ways to add custom forms to Magento 2:

  1. A custom module. A developer writes a controller, a template, server-side validation, an email template and, if you want to keep submissions, a database table and an admin grid. Each new form or field means another round of development.
  2. A Magento 2 form builder extension. You build and change forms in the admin. With Custom Form Builder for Magento 2, the steps are:
  1. Go to Form Builder > Forms > Add New Form, enter a title and a code (the form's address becomes /forms/{code}), and choose the store views and customer groups.
  2. In the drag-and-drop builder, click or drag field types onto the form: 26 types, from text and email to file upload, star rating, address and consent.
  3. Set each field's width for desktop, tablet and mobile on a 12-column grid, and add conditions to show, hide or require fields.
  4. Choose who gets the notification email, whether the customer gets a copy and what happens after submit.
  5. Show the form on its own page, in a CMS page or block with the Magexweb Form widget, or on product pages as an enquiry form.
Drag-and-drop form builder in the Magento 2 admin with the field palette, the form and the field settings

The Custom Form Builder user guide explains every setting.

A checklist for every form

  • Ask only what you need. Every extra field lowers the number of people who finish the form.
  • Validate on the server, not only in the browser. Browser checks help customers; server checks protect your data.
  • Stop spam with a honeypot, a minimum fill-in time, a limit per visitor and reCAPTCHA.
  • Test on a phone. Fields should use the full width and buttons should be easy to tap.
  • Keep the page fast. Forms should work with Magento's full page cache and Varnish.
  • Plan for privacy. Decide how long you keep submissions and how you delete them on request. Our guide to GDPR-ready forms in Magento 2 covers this step by step.

Frequently asked questions

How do I create a custom form in Magento 2 without coding?

Install a form builder extension, then create the form in the admin. With Custom Form Builder you add fields by drag and drop, save, and the form is live at /forms/{code} or wherever you place it with the widget.

Can I add a form to a CMS page in Magento 2?

Yes. In Content > Pages, edit the page, click Insert Widget, choose Magexweb Form and pick the form. The same works in CMS blocks.

Does Magento 2 store form submissions?

The built-in contact form only sends an email; it does not keep the message in Magento. Custom Form Builder saves every submission in Form Builder > Submissions, with statuses, internal notes and CSV or Excel export, and can also email it.

Which Magento versions does Custom Form Builder support?

Magento Open Source 2.4.7, 2.4.8 and 2.4.9, with PHP 8.2 to 8.5, on Luma, Blank and Luma-based themes.

0 Comments

No comments yet. Be the first to comment.

Leave a Comment

Your email is never published.

Keep reading.

More guides from the Magexweb blog.

All articles

Rather we handle it?

Upgrades, security patches and platform moves are what we do every day. Tell us what your site needs, and we will reply with questions and next steps.

  • Email info@magexweb.com
  • Phone +91 99092 71288
  • Hours Mon–Fri, 10:00 AM to 8:00 PM IST
  • Office D-1002, Jasmin Green 1, Near Vaishnodevi Circle, Ahmedabad 382421, India

  • Free consultation
  • NDA available
  • Reply by email