I can't find the file or the html for guest shipping address. I want to change the telephone input type from input type = text to input type = number. Any suggestion where to find it or how to customize this bug? (To produce this bug, checkout an item without logging in) Thank you!
Hello @andybagadi2b88
Please follow the steps below to change the telephone input type from input type="text" to input type="number" in the shipping address form in Magento 2:
<input type="number" class="input-text" name="telephone" data-bind="value: telephone" autocomplete="tel">
Note: changing the input type to a number will display a numeric keypad on mobile devices, but it may also prevent users from entering certain characters, such as parentheses and dashes, that are commonly used in phone numbers. You may need to add additional validation or formatting logic to ensure that phone numbers are entered correctly.
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9