{"id":1228,"date":"2020-09-11T15:18:23","date_gmt":"2020-09-11T15:18:23","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/09\/11\/enable-middle-name-in-registration-form-in-magento-2\/"},"modified":"2025-07-17T10:35:20","modified_gmt":"2025-07-17T05:05:20","slug":"enable-middle-name-in-registration-form-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/enable-middle-name-in-registration-form-in-magento-2\/","title":{"rendered":"How to Enable Middle Name in Registration Form in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The registration process in an online store can be customized based on customer behaviour and business requirement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Magento 2\u00a0also allows to\u00a0<a href=\"https:\/\/meetanshi.com\/blog\/configure-magento-2-customer-accounts\/\" target=\"_blank\" rel=\"noreferrer noopener\">edit the customer accounts fields<\/a>\u00a0as required. The admin can configure customer registration page from the backend admin panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One such field, middle name, in the registration page can be enabled or disabled and the post shows the stepwise method for the same.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Magento 2, the \u201cShow Middle Name\u201d field is an optional field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/show-suffix-field-in-magento-2\/\">show suffix field in Magento 2<\/a>&nbsp;to add suffix such as \u201cJr.\u201d and \u201cSr.\u201d or else like \u201cI\u201d,\u201d II\u201d, \u201cIII\u201d, and so on, that indicates the first generation, the second generation and the third generation respectively.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Enable middle name in the registration form in Magento 2<\/strong><\/em>&nbsp;with the below steps:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Enable Middle Name in Registration Form in Magento 2:<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Steps-to-Enable-Middle-Name-in-Registration-Form-in-Magento-2.png\" alt=\"How to Enable Middle Name in Registration Form in Magento 2\" class=\"wp-image-10351\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Login<\/strong>&nbsp;to Magento 2 admin panel<\/li>\n\n\n\n<li>Navigate to<strong>&nbsp;Stores &gt; Settings &gt; Customers<\/strong><\/li>\n\n\n\n<li>Under&nbsp;<strong>Customer<\/strong>, select&nbsp;<strong>Customer Configuration<\/strong><\/li>\n\n\n\n<li>Expand&nbsp;<strong>Name and Address Options<\/strong><\/li>\n\n\n\n<li>Set Required in the field&nbsp;<strong>\u201cShow Middle Name\u201d<\/strong><\/li>\n\n\n\n<li><strong>Save<\/strong>&nbsp;the configuration<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Now, the registration form displays the middle name field:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Middle-Name-in-Registration-Form-in-Magento-2.png\" alt=\"Middle Name in Registration Form in Magento 2\" class=\"wp-image-10466\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refer to the video tutorial to enable middle name in registration form in Magento 2 from our&nbsp;<a href=\"https:\/\/www.youtube.com\/playlist?list=PLBTOxSAJzwEjM5MilmEqj98Ib80tKBu7r\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 video tutorial<\/a>&nbsp;series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Enable Middle Name in Registration Form in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Tv6EXfb6QCo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also, do share this post with Magento Community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The registration process in an online store can be customized based on customer behaviour and business requirement. Magento 2\u00a0also allows to\u00a0edit the customer accounts fields\u00a0as&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1228","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1228"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1228\/revisions"}],"predecessor-version":[{"id":13981,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1228\/revisions\/13981"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}