It would be nice it we should add a mask for phone number fields. For certain things, like Twilio, it is important that a phone number gets set in an exact format. We have Maskito for date entry, we might be able to leverage that for phone numbers: https://maskito.dev/recipes/phone
I like that idea too. Would this be something we could setup individually or a global system preference with a few options to choose from?
+1 for this feature. Phone number fields should not be plain text inputs. Just a recipe for bad data.
(In reply to Brandon from comment #2) > +1 for this feature. Phone number fields should not be plain text inputs. > Just a recipe for bad data. The correct way to do this is probably Bug 23817, normalize all phone numbers in patron search and DB.
(In reply to Lucas Gass (lukeg) from comment #3) > (In reply to Brandon from comment #2) > > +1 for this feature. Phone number fields should not be plain text inputs. > > Just a recipe for bad data. > > The correct way to do this is probably Bug 23817, normalize all phone > numbers in patron search and DB. Funny enough I was just talking last night about how I should resurrect this for main. I've been using it locally for the past 2 years and it's nice. That said, formatting phone numbers for display purposes at least could be cool.
(In reply to David Cook from comment #4) > Funny enough I was just talking last night about how I should resurrect this > for main. I've been using it locally for the past 2 years and it's nice. Let me know if you'd like me to post some updated patches. I could certainly make some time for that, if you're interested in it.