Jump to content

Minimum number count on form field

Recommended Posts

Hello,

Could anyone help me with a piece of code or direct me to a tutorial where I can add a minimum number count on a telephone field. We've had a customer enter only 10 numbers in the telephone field and it's 11 numbers for UK telephone, so would like to add custom code that will only allow them to enter 11 numbers?

Thanks in advance.

Link to comment
  • Replies 1
  • Views 124
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

If you use a telephone number field with country code, the phone number should be 10 digits since you exclude the leading zero. Other than that I don't think there's a way to change this property for 10 to 11 digits.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.