Is there a component for a profile screen which pulls automatically the data from the database? User case: User registered - User is directed afterwards to his profile page and find all his information already set up. I saw some Profile templates in sections but it seems like they are not able to be preset with the data from the database.
I think you first have to make sure the data input created a new entry in your collection.
Then the next step should be a link to a login screen where the user has to login so he or she becomes a logged in user.
Then you can add an action that leads to a profile page, where you have to pick the relevant user information for each field to have it filled in automatically in the live session. you can use the “text input” component you find in forms & fields.
this should work.
Thaaaaanks!!! Can you please elaborate a little bit more about the point
data input created a new entry in your collection, how do I do that?
I suppose you already have a form where the user fills in his information.
(You could use that standard form that Adalo creates as well!)
You need your form to be connected to a collection of users - your user database
In the setup for your form you need to choose which data collection your form refers to.
and that you want to sign up the user with this form.
you need to create according fields for the information you want to collect as well.
the last part is your sign up button which should trigger the actions “sign up” which creates the entry and maybe link back to the login screen.
in your login screen it is similar to what you just did, only you need to log in the user.
tell me if you have further questions, it’s not that complicated!
Thanks a lot for the detailed explanation. I have both. I am looking for a third screen which is user profile which the user sees after he has signed up or signed in. The Profile screen contains/preset the information which were collected in the registration like user name, profile pic. In this Case I need to pull data from the database into the screen to display the information for the user in his profile to see. This is not working for me
which component did you choose to display the user data?
Have you told the fields what they should show?!
I tried Sections Account & Profile because I thought it sounds logical and I can maybe add the missing fields or change how I need it. But I don’t know how to make this work. For example I can’t add an action for the profile pic to automatically pull data from the database btw fill in automatically the profile picture the user has uploaded while register process.
here you see how you can choose the image source.
the image should be in your collection
as I said I used text input fields for my form.
you can easily refer to a user in your collection as well.
that’s what I can show you.
Thank you so much. I think it’s working now
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.