How do I automatically display what the user entered in another page?

Daniel Stoica shared this question 5 years ago
Answered

In one page, I have a Text Input, where the user should type his name. When going to another page, I want the name that he entered to be displayed on page load, in a label or something like that. How do I do that?

Comments (4)

photo
1

Hey Daniel,


you will find how to do it on the following link.


http://www.justinmind.com/prototyper/...


I hope it helps you

photo
1

Thanks again for the answer. It was useful. Now I have a followup question.


Let's say the user enteres 1234567890 in a text input. In the following page, I want the first figures replaced with stars and the last 5 figures displayed as they are, so it will be like this: *****67890. Can I do this?

photo
1

Hi again Daniel,


you can do it and I will show you how.


On the second screen, add a "on page load" event. Select "Set value".


Now you have to click on the label that you want to show this value with stars.


792d32d8786916a1b3675efb9e2af819


Now click on "Calculated" and built the following expression:


Firstly, add "concat" function. On the left type as many stars as you want. On the right, add "substring" function. Those functions are inside "text" tab. In my case, the variable's name is "text".


I hope it helps you

photo
1

Thank you again, I appreciate all your help.