Registering customers from a form
What it does
A form can create a Magento customer account from the answers someone sends, for example a trade-account application. The account is made when the form is sent, or when you approve the submission. You set this up in the form's Customer Registration settings, where you choose the customer group and which field fills which part of the account.

Before you start
- Create Customer Accounts is Yes in Stores → Configuration → MageMe Extensions → WebForms, under Storefront Forms → Customer Registration. It's the switch for the whole store. See Settings: Storefront Forms.
- The form has fields for the first name, the last name and the email address. A customer account needs all three.
- To create accounts on approval, the form uses approval. See Approving submissions.
Steps
Choose when accounts are created
-
Go to Content → WebForms → Manage Forms.
-
Click the form's name.
-
Click Customer Registration in the list of sections on the left. The section opens with its switches. In the example below, accounts are created on approval, in the Wholesale group.

-
To create the account as soon as the form is sent, select Register Customer on Form Submission. Then, in Customer Group, select the group for the new customer.
-
To create the account when you approve the submission, select Register Customer on Result Approval. Then, in Approval Customer Group, select the group. If someone who already has an account should move to that group on approval, also select Move Existing Customer to Approval Customer Group. It's off by default.
-
To refuse a submission whose email address already has an account, select Unique Customer Email Address.
-
To send Magento's own welcome email to the new customer, select Send Default Magento Welcome Email.
Map the fields
-
Under Customer, in the Form Field column, select the form's field for First Name, Last Name and Email. The ones marked with an asterisk are required.

-
To fill more of the account, click Show optional attributes and map those too, such as Tax/VAT Number. The line above the table counts the mapped attributes, for example "4 of 12 attributes mapped".
-
If the form asks for an address, select Create Billing Address or Create Shipping Address. A table of address attributes appears. Map at least the ones marked with an asterisk, such as Street Line 1, City, Country and Phone Number.
-
Click Save.
Show the form on the registration page
To let new customers sign up through your form instead of Magento's own registration page:
- Go to Stores → Configuration → MageMe Extensions → WebForms.
- Expand Storefront Forms.
- Under Customer Registration, in Replace Default Registration Page, select Yes.
- In Form to Use, select your form.
- Click Save Config.
The page says this "Shows the selected form instead of the standard customer registration page." Accounts are created only when that form has registration turned on, as in the steps above. See Settings: Storefront Forms.
What you should see
Registration on submission. The account is created when the form is sent, in the Customer Group you chose. The visitor is signed in to the new account straight away.
Registration on approval. Nothing happens when the form is sent. When you approve the submission, the account is created in the Approval Customer Group. The submission then belongs to the account: it's listed on the WebForms tab of the customer's page.
The welcome email. With Send Default Magento Welcome Email on, the customer gets your store's "Welcome to" email at the address they entered. It tells them to sign in with their email address.
Password. The Password row says "Generated if not mapped". When no field is mapped to it, WebForms gives the account a random password. The welcome email then has a link where the customer sets their own password. Without the welcome email, they use Forgot Your Password? on the sign-in page.
An email address that already has an account. With Unique Customer Email Address on, the visitor sees "There is already an account with this email address." The message goes on with a link to the page where they can get a new password. The form isn't sent. With the setting off, the form is sent but no second account is made. The existing account isn't changed, linked to the submission or sent an email, also when you approve the submission. The one exception is Move Existing Customer to Approval Customer Group, below.
Moving an existing customer on approval. With Move Existing Customer to Approval Customer Group on, approval moves the account with the submitted email to the Approval Customer Group. Nothing else in the account changes. The move happens on its own when the signed-in customer sent the submission from their account, or when this submission created the account. For any other account, the submission's page asks you to confirm the move in a Move Customer to Approval Customer Group dialog. Only an admin whose role may manage customers can confirm it.
A signed-in customer. A customer who is signed in when they send the form keeps their own account: the form creates no account, on submission or on approval, and Unique Customer Email Address doesn't stop them.
Limits
- An account made when the form was sent stays in Customer Group when you later approve the same submission, unless Move Existing Customer to Approval Customer Group is on.
- Taking the approval back doesn't move the customer back to their previous group. Submissions approved while Move Existing Customer to Approval Customer Group was off aren't moved later.
- Unique Customer Email Address tells anyone who types an address whether it has an account in your store.
- Customer Registration settings are [global]: one value for every store view.
Troubleshooting
- No account was created. Check Create Customer Accounts in the configuration, and that First Name, Last Name and Email are mapped. With registration on approval, the account appears only once the submission is Approved.
- The customer can't sign in. If no field is mapped to Password, they haven't set a password yet. Ask them to use the link in the welcome email, or Forgot Your Password? on the sign-in page with the email address they entered on the form.
What's next
- Approving submissions: approve applications so their accounts are created.
- Customers' submissions in My Account: let the new customers follow their requests in their account.
- Send a confirmation email to the customer: write your own welcome text.