Re:Gmail password first character is case insensitive on mob...
by jpswade on Saturday October 09, 2021 @07:21AM
(#28808875)
There's a school of thought in interface design that you shouldn't change what the user inputs, as it can be a jarring experience for regular users.
[ Parent
| on HN ]
Re:Gmail password first character is case insensitive on mob...
by martincmartin on Saturday October 09, 2021 @08:23AM
(#28809239)
But the changing isn't user visible. To the user, the phone number is the string "(416) 555-1270". If you want to store it differently in your database go ahead. But to the user, the phone number has dashes.
In fact, on my phone, when I type in just the digits, my phone inserts the parens and dashes. Presumably, users consider this easier to read, and dare I say, more canonical.
So, many applications can't handle phone number input in the exact form they display it to the user.
Re:Gmail password first character is case insensitive on mob...
by lelandfe on Saturday October 09, 2021 @10:33AM
(#28810205)
> I just want a phone number input box that will strip dashes for me.
So you don't actually want the input box to strip dashes, right? It sounds like you want more sites to accept dashes.
Re:Gmail password first character is case insensitive on mob...
by martincmartin on Saturday October 09, 2021 @01:16PM
(#28811564)
Very true. I wasn't very precise in my original comment.
Re:Gmail password first character is case insensitive on mob...
by LudwigNagasena on Saturday October 09, 2021 @07:57AM
(#28809076)
What’s jarring is that a field for phone numbers can’t parse dashes and spaces.