I am working on small project(web page) where a user can have two options to get results. But only one can be used at a time. Being a noob with UI and stuff, I would like to know how to work on such scenarios.
To get user details(internal tool), a user can enter either email address or phone number. Only 1 among the two at a time. The details will then be populated down. It won't redirect anywhere and user can get details of user without reloading page or navigating elsewhere.