regarding phone number validations

bhavya_sindhu
Shopify Partner
5 0 1

in the checkout form there are no validations for phone number it is taking alphabets and unlimited numbers also

Replies 4 (4)

DelightCart
Shopify Partner
1238 82 157

@bhavya_sindhu 

To make phone numbers mandatory in Shopify checkout:

1. Go to your Shopify admin and open up settings
2. Click on Checkout
3. Scroll down to the Form options and make "Shipping address phone number" Required.

 

Delight Cart - It's time to turn your visitors into loyal shoppers! 

Delight Loyalty - Increase repeat sales quickly and build lifelong customers loyalty.

MS_WEB_DESIGNER
Shopify Expert
695 52 135

Hi @bhavya_sindhu,

I am Ani From https://www.task4store.com/  - Shopify Small & Custom Tasks Experts ( By MS Web Designer - Top Rated Shopify Certified Experts and eCommerce Consultant from Singapore )

I will love to help you with your concern.

 

To make phone numbers mandatory in Shopify checkout:

Go to your Shopify admin and open up settings-->Click on Checkout-->Scroll down to the Form options and make "Shipping address phone number" Required.

MS_WEB_DESIGNER_0-1649419492444.png

 

If you have any concerns feel free to ask me!

Regards,
Ani

banned
bhavya_sindhu
Shopify Partner
5 0 1

Thank you for helping, but my issue was alphabets are also taking in phonenumber field,alphabets  should not be taken

GordonKihn
Shopify Partner
20 0 2
Hi, our app enables native checkout validation (King Checkout Validation), which checks each field according to the rules you set yourself and prevents unexpected checkout.

 

for example:

 

Prevent Post office (PO) boxes address
Check if the address contains a house number / apartment number
Check if the number of field characters exceeds the maximum value
Customized keywords and regular expression checking rules
etc...
 
For your scenario, you can choose the regular express rule to apply to the phone field, ensuring that the phone value can only be a number