Hello Everyone.
Good day.
I am seeking some advice on how to log in 2 different types of users. I am using the standard Log In/ Sign Up Button from Adalo Editor. I am attempting to build an app that involve 2 group of users. This means during the log in process, the user enters email and password( through the standard template) and after that instead of just clicking Log In, it need an additional step of specifying if they are let’s say a teacher or a student. The log in button that comes with the standard template with have action Log User In and put their email address and password in the pre- existing User Category. I changed the Log In Button to say, Teacher Log In and created another button called, say Student Log In to sign up the other group of user, but realized that under button action I have only “sign user in” available. How do I tell the system which database to sign in the user? Students Users and Teachers Users are in different Collection.
- Another question would be regarding displaying different components on a list. Let say I have Collection named Teacher in the database. There will be several records ( several teachers). Under Teacher I have 4 properties, say fav color, fav flower, fav beverage & hobby. Users can select a teacher on the Home Screen ( that has a list which I know how to create), and once a teacher is selected, a different screen with a list should display the selected teachers name , image and the 4 properties. These are all store in the database. I wanted to display the 4 properties in a list so I selected a simple list, with first item title displaying properties, Fav Color and subtitle displaying say the color blue ( depending on what it pulled from the Teacher Collection). 2nd item will display fav flower and so on. I realized that I can’t do that because when I use a list, all the item title will display one same property (from records of a Collection) , not different properties. May I get some insights on how to display different properties under a Collection in a list? In Other words, I am trying to display all ( or selected) the properties of a record in a Collection in a list. I watched the video on Customize list but didn’t find it related to this scenario.
Thank you for your time and help.