Submitted about 1 year ago
multi-step-form validation used joi and context (not responsive yet)
@Ahmed-dev-98
Design comparison
SolutionDesign
Community feedback
- @JumanjigobezPosted about 1 year ago
Sorry, I am unable to pass the phoneNumber field! Kindly check on that.
Hope this will be helpful to counter check your code.
0@Ahmed-dev-98Posted about 1 year ago@Jumanjigobez hi , thanks for your comment here is regex i used ^(+\d{1,2}\s)?(?\d{3})?[\s.-]\d{3}[\s.-]\d{4}$ and it only matches the following patterns : 123-456-7890 || (123) 456-7890 || 123 456 7890 || 123.456.7890 || +91 (123) 456-7890
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord