How to Enable Middle Name in Registration Form in Magento 2

How to Enable Middle Name in Registration Form in Magento 2

The registration process in an online store can be customized based on customer behaviour and business requirement.

Magento 2 also allows to edit the customer accounts fields as required. The admin can configure customer registration page from the backend admin panel.

One such field, middle name, in the registration page can be enabled or disabled and the post shows the stepwise method for the same.

In Magento 2, the “Show Middle Name” field is an optional field.

The middle name shows honour to a family person or a parent or a completely unrelated person. Many customers may have no problem in entering their middle-name in the customer details form.

Some of them may write just the first character in the middle-name and some of them may write the first name of their parent as a middle-name. For instance, John A. Smith or John Adam Smith.

Enable middle name in the registration form in Magento 2 with the below steps:

Steps to Enable Middle Name in Registration Form in Magento 2:

How to Enable Middle Name in Registration Form in Magento 2

  1. Login to Magento 2 admin panel
  2. Navigate to Stores > Settings > Customers
  3. Under Customer, select Customer Configuration
  4. Expand Name and Address Options
  5. Set Required in the field “Show Middle Name”
  6. Save the configuration

Now, the registration form displays the middle name field:

Middle Name in Registration Form in Magento 2

That’s it.

You can also refer to the video tutorial to enable middle name in registration form in Magento 2 from our Magento 2 video tutorial series:

If you have queries, feel free to ask in the Comment section below.

I would like to solve your problem.

Also, do share this post with Magento Community via social media.

Thank you.

Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

5
(based on 10 Reviews)

Marketing Manager at Meetanshi, she is an expert in the field with 6 years of experience. Apart from work, she is a foodie, watch lover and a proud wife.

Leave a reply:

Your email address will not be published.