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.

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.

Share This

Share this post with your friends!