justinmind-logo
 
Upvote 1

Display user details after login using data master record

Answered Victor Conesa 10 years ago

How can I display the user details after they login? In the data master record I got name, email, password, and photo. The login only requires email and password, after validation and successful login how can I display the detail of the login user?

Replies (8)
photo
1

Anybody?

photo
1

Hi,


Here you will find a tutorial of how to validate the login: http://www.justinmind.com/prototyper/...


Now, I'm goint to explain how to do the second part.


1. In the same button that executes the login action, add a "set value to" event. Create a variable called "userselected" for example and click on calculate. Then, drag the input email into the expression builder and click ok. This is how you will see the expression builder once you have done it.


7607b760060c0b509e1b0326f456b0dd


2. Now, in the second screen, drag two labels and one image widget onto the canvas. Then, click on the screen and create an "on page load" event. Select "set value to" action and click on the first label. Once you have selected, click on calculate and build the following expression:


3. Copy and paste the event and you only have to change the last part of the email or photo instead of name attribute) and select the other label or the image widget.


Best regards.

photo
1

Hi there, I found this ans helpful to my stuation, however, I cant see the expression refered to by Albert in step 2 where he says "click on calculate and build the following expression:" I need help to build such an expression.


Thanks

photo
photo
1

NOTE: Found my mistake :) IT WORKS!... Thanks..

photo
1

What if I would like to edit that details? I created a 3rd screen and use your instructions instead of a label I use a text box and in the end I added a button with on click event and data master action modify and add another event to go to 2nd screen when clicked, but when I simulate it I cant click the button.


c307643ad39ae5db3eb62b47b41dd7a8

photo
1

If you want to modify the values of the datamaster, you have to drag on the expression builder the input text. Here you will find a good example of how to do it.


http://justinmind.com/usernote/tests/...


Best regards.

photo
1

Ops, that was the wrong image. I corrected the at already but still I cant click the button. If I delete the modify action in the event the button can be clicked.


the 3rd screen got an onload event in it.


Can I send you my project so that you can check? sorry for being a spoon feed I'm just new with justinmind.

photo
1

Sent it. with the subject MY JUSTINMIND. are you the one that will check it?

photo
1

Thanks for the help albert. I get it :). Hope you can help me again next time.

Leave a Comment
 
Attach a file