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. 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:
- Login to Magento 2 admin panel
- Navigate to Stores > Settings > Customers
- Under Customer, select Customer Configuration
- Expand Name and Address Options
- Set Required in the field “Show Middle Name”
- Save the configuration
Now, the registration form displays the middle name field:
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.
Shivbhadrasinh 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.
Prev
How to Add Date of Birth in Registration Form in Magento 2
How to Show Tax/VAT Number in Registration Form in Magento 2
Next