{"id":1222,"date":"2020-09-06T16:14:40","date_gmt":"2020-09-06T16:14:40","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/09\/06\/enable-magento-2-telephone-validation-in-customer-registration\/"},"modified":"2025-05-22T11:50:28","modified_gmt":"2025-05-22T06:20:28","slug":"enable-magento-2-telephone-validation-in-customer-registration","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/enable-magento-2-telephone-validation-in-customer-registration\/","title":{"rendered":"How to Enable Magento 2 Telephone Validation in Customer Registration"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The default&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/configure-magento-2-customer-accounts\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 store offers customer account configuration<\/a>&nbsp;settings that can be used for multiple purposes like new account options, email options, password options, name and address options such as&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/show-gender-in-customer-accounts-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">show gender<\/a>,&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/change-number-of-lines-in-street-address-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">the number of lines in the street address<\/a>,&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/add-date-of-birth-in-registration-form-in-magento-2\/\">add date of birth in registration form<\/a>, etc.&nbsp;Magento 2, by default, offers an option to collect the customers\u2019 fax number details. However, it is up to the store admin to&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/show-fax-field-in-magento-2\/\">show fax field in Magento 2<\/a>&nbsp;store, store credit options, login options, captcha for security, and many more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of the options that I am posting here is to show telephone in customer account in Magento 2. The telephone number is required to contact the customer in case of any issues in payments, shipping,&nbsp;give them special offers, or a part of any of your discount schemes, or even simply for, customer communication!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to showing telephone number, another important option for businesses is to&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/show-tax-vat-number-in-registration-form-in-magento-2\/\">show Tax\/VAT Number in Registration Form<\/a>, which can aid in better communication and build trust by providing transparent pricing and complying with tax regulations in Magento 2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check the below steps to&nbsp;<em><strong>enable Magento 2 telephone validation in customer registration<\/strong><\/em>&nbsp;as per the business requirements:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Enable Magento 2 Telephone Validation in Customer Registration:<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Steps-to-Enable-Magento-2-Telephone-Validation-in-Customer-Registration-1024x419.png\" alt=\"Steps to Enable Magento 2 Telephone Validation in Customer Registration\" class=\"wp-image-10331\"\/><\/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&nbsp;<strong>Stores &gt; Configuration<\/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 \u201crequired\u201d in the field \u201c<strong>Show Telephone\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\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, do share the post with the 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 default&nbsp;Magento 2 store offers customer account configuration&nbsp;settings that can be used for multiple purposes like new account options, email options, password options, name and&#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-1222","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1222","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=1222"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":14689,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1222\/revisions\/14689"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}