I have a login screen that has two ways of authentication: via e-mail or a numeric code.

So i'm wondering if i should make the user decide(use a tab-bar or a switch...) which kind of login auth he will be using and after that i present the matching keyboard when user presses on the auth field.

The other option would be to have a consolidated field with the ability to authenticate thru any, one of my biggest concerns in this one is that I cannot pull the numeric keypad to help user input the numbers with ease when using the numeric code to login.

What you guys think? Thanks for the help!

  • What is the user context? Is the login used on mobile? If so, keep in mind the decisions are to be made fast and on the run.
    – Anton T
    Nov 8, 2019 at 13:16

1 Answer 1


You could make the user decide which authentication he would prefer.

However, you could set a default authentication type that all users would follow. Probably email, then add a 'use numeric code instead' option on the authentication screen.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.