Dev Stuff
You use multiple passwords, right? Do some of your passwords just vary by the last character? Probably. reallylongpassword and reallylongpassword1, maybe.
In the clip below, I try logging into Instagram, using the first incorrect password, followed by the second variation.
See what happened there? The first password was wrong, so I thought I’d just edit it and add a 1 to the end of it, but when I tried to do that it cleared the field. This seems to be the norm in iOS apps, and it provides for a less than ideal experience.
There are two correct options, here.
- After entering an invalid password, clear and focus the field. This makes it obvious to the user that they have to retype their password.
- After entering an invalid password, don’t clear the field, but allow editing of the field’s contents. To avoid other mediocre experiences, you should also have a clear button on the right side of the input.
What you should definitely not do is make it seem like the field is editable by keeping the contents in there, and then clear it when the user tries to type in it. That’s just rude.