Skip to main content

Registration form

What it does​

A trade account application, for example at /wholesale-signup. A business fills in three steps: the company, the contact person and how they plan to buy, with a licence file and a signature. You read each application, and when you approve it, WebForms creates a customer account in your Wholesale group with the contact's name, email address and VAT number. Nobody gets an account you haven't approved.

Uses: the Wholesale Account template (Creating forms), Registering customers from a form and Approving submissions.

Before you start​

  • Create Customer Accounts is Yes in Stores → Configuration → MageMe Extensions → WebForms, under Storefront Forms → Customer Registration. See Registering customers from a form.
  • Deliver Notifications is on, so WebForms sends email. See Quick start, and How email delivery works for what it holds back.
  • Your store's Sales Representative address in Stores → Configuration → General → Store Email Addresses is a mailbox your sales team reads.
  • Your store has a customer group for trade customers, such as Wholesale.

Steps​

Create a Wholesale Application Form1:24Watch on YouTube

Create the form from the template​

  1. Go to Content → WebForms → Manage Forms.
  2. Click Add Form.
  3. In the list on the left, under B2B & Wholesale, click Wholesale Account. The panel on the right shows One section per step. Under Also set up, Approval Workflow and Show in Customer Accounts are on. Two emails are switched on: Sales copy to your sales team and Customer confirmation to the applicant. Leave them all on.
  4. Click Use This Template at the right end of the top bar. The builder opens with your new form.

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

  1. Click Next: Settings at the right end of the top bar.
  2. In Name, enter the name you'll see in the admin, for example Trade Customer Application.
  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 wholesale-signup.

Create the account when you approve​

  1. Click Customer Registration in the list of sections on the left.
  2. Turn on Register Customer on Result Approval.
  3. In Approval Customer Group, select Wholesale.
  4. Turn on Unique Customer Email Address, so an address that already has an account can't apply again.
  5. Turn on Send Default Magento Welcome Email.
  6. Under Customer, in the Form Field column, select the form's fields:
    • First Name: Name [First name] · Contact
    • Last Name: Name [Last name] · Contact
    • Email: Email · Contact
  7. Click Show optional attributes. The number in brackets after it depends on your store. For Tax/VAT Number, select VAT or tax number, if applicable · Company. The line above the table now starts with "4 of": the four attributes you mapped, out of all the customer attributes your store has.
  8. Click Save. The message "You saved the form." appears.

Password stays Not mapped: WebForms gives the account a random password. For the other settings in this section, see Registering customers from a form.

Apply as a business​

  1. Open the form's page on your store, for example /wholesale-signup. Step 1, Company, is open.
  2. Fill in Company name, the VAT number, the Registered business address, Years in business and Business type.
  3. Click Continue. Fill in the contact person's first name, last name and email address in step 2.
  4. Click Continue. In step 3, choose the Expected monthly spend and the Payment terms you are asking for.
  5. Under Business licence or reseller certificate, drop a PDF onto the drop area.
  6. Under Authorised signature, sign with the mouse or a finger.
  7. Under Wholesale terms, select the box to accept them.
  8. Click Send application.
Approve Wholesale Accounts1:37Watch on YouTube

Approve the application​

  1. Go to Content → WebForms → Inbox and click the application's reference or subject.
  2. In the line under the page title, click Pending, then Approved.
  3. The Change Approval dialog asks: Set the approval to "Approved"? It lists the emails the change sends. Click Change and Notify. If no approval email is switched on, the dialog says so and the button is Change.

What you should see​

  • After Send application, the form is replaced by "Your application is with our wholesale team. We review company details and come back either way."
  • Two emails arrive a little later: "Wholesale application:" with the company and the business type at Sales Representative, and "Your wholesale application" at the applicant's address.
  • No customer account exists until you approve. After you confirm the change, the account appears in Customers → All Customers in the Wholesale group, with the contact's name, email address and VAT number.
  • The applicant gets your store's "Welcome to" email.

On the test store, one application from the Luma store view and one from the Hyvä store view each became a Wholesale account when approved.

Make it yours​

  • Write your own welcome text. Switch the welcome email off and switch on the Approved email that the template added, switched off, on the form's Notifications tab. Tell applicants to set their password with Forgot Your Password?. See Approving submissions.
  • Edit the customer email before you go live. As it ships, it promises an answer time. Change it to your own. See Send a confirmation email to the customer.
  • Change the sales questions, such as the spend bands. See Options.
  • Create the account at once instead of on approval, with Register Customer on Form Submission. See Registering customers from a form.

Limits​

  • The applicant sets no password on the form. The welcome email has a link where the new customer sets their own password.
  • The emails don't carry the licence file. The team email says it may be attached to the submission: open it in the admin.
  • Authorised signature is required, and it can only be drawn with a mouse, a finger or a pen. Someone who uses only the keyboard can't send the form. See Signature field.
  • With Unique Customer Email Address on, the form tells anyone who types an address whether it has an account in your store.
  • 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.
  • Customer Registration settings are global: one value for every store view.

Troubleshooting​

  • No account was created after approval. Check Create Customer Accounts in the configuration and that First Name, Last Name and Email are mapped. See Registering customers from a form.
  • The new customer can't sign in. They haven't set a password yet. Ask them to use the link in the welcome email, or Forgot Your Password? with the email address from the application.
  • No email arrives. See Notification email not received.

What's next​

Applies to WebForms 4Last reviewed November 24, 2026