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:

- 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
