Open cheeseblubber opened 3 years ago
@a8t you might have some context on this
Twilio has a free phone number validator service that we already use for something else. Maybe we can also pair with a client-side validation. (is a phone number regex stupid?)
link dump https://www.twilio.com/blog/international-phone-number-input-html-javascript
Yeah I think just some client side validation + string formatting would be ideal. It doesn't work if we add spaces in to the phone number
Problem Right now if you enter a phone number without the area code or have the wrong formatting in phone number section it will fail silently and not work. We should make sure that there is a country code and that it can work regardless of the text formatting
Solution It should validate that it has a country code and we shouldn't care about formatting