🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Enable Middle Name in Registration Form in Magento 2

By Shivbhadrasinh GohilUpdated on Jul 17, 2025 3 min read

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. Even you can show suffix field in Magento 2 to add suffix such as “Jr.” and “Sr.” or else like “I”,” II”, “III”, and so on, that indicates the first generation, the second generation and the third generation respectively.

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:

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

Thank you.

Shivbhadrasinh Gohil Full Image
Article byShivbhadrasinh Gohil

Shivbhadrasinh is the Co-founder & Chief Marketing Officer at Meetanshi. He leads the marketing team and is the person behind the marketing & branding success of the company. Being a seasoned digital marketer, he has been consulting online businesses for growth since 2010 and has helped 100+ clients with digital marketing success. He loves sharing tips and insights about the latest digital marketing trends aimed at helping online business owners.