How to show text input from one page to the next.
Forgive the many (and novice questions), but just getting familiar with JustInMind. I'm trying to mock up a simple google home page by bringing in a screen shot and overlaying it. I can create the navigation fine, but how do I bring what was inputted within the text section (ie overlaid search bar) to the next page to show what was searched?
You can use a variable to store the value of the text input. Check out the attached prototype for an example. Here's how to create it:
1. Drag an Input Text Field and a Button onto the Canvas.
2. Create a Variable.
3. With the Button selected, create an "On Click" + "Set Value" event, with the Variable as the target of the "Set Value" action.
4. For the value, click 'calculated'. In the Calculated Expression builder, drag the Input Text Field into the open space in the expression.
5. Create an "On Click" + "Link To" event, and link to another screen.
6. On that screen, create an "On Page Load" + "Set Value" event, and select a Text widget to be the target.
7. For the value, click 'calculated', and drag the Variable into the open space in the expression.
You can use a variable to store the value of the text input. Check out the attached prototype for an example. Here's how to create it:
1. Drag an Input Text Field and a Button onto the Canvas.
2. Create a Variable.
3. With the Button selected, create an "On Click" + "Set Value" event, with the Variable as the target of the "Set Value" action.
4. For the value, click 'calculated'. In the Calculated Expression builder, drag the Input Text Field into the open space in the expression.
5. Create an "On Click" + "Link To" event, and link to another screen.
6. On that screen, create an "On Page Load" + "Set Value" event, and select a Text widget to be the target.
7. For the value, click 'calculated', and drag the Variable into the open space in the expression.
Don't worry, ask whatever you want to, that's why we created this place for. To bring a data from one screen to another you can use variables. Take a look at this video tutorial http://www.justinmind.com/tutorials/m...
Don't worry, ask whatever you want to, that's why we created this place for. To bring a data from one screen to another you can use variables. Take a look at this video tutorial http://www.justinmind.com/tutorials/m...
Thanks for the answer! That video helped!
Thanks for the answer! That video helped!
Can i use text from a textarea field (not just a single line but multiple lines) in a variable? I'm simulating a form where a user would enter multi-line comments and want to display those comments in subsequent screens using a variable. Can't seem to get that to work. Other single line text variables work fine.
Can i use text from a textarea field (not just a single line but multiple lines) in a variable? I'm simulating a form where a user would enter multi-line comments and want to display those comments in subsequent screens using a variable. Can't seem to get that to work. Other single line text variables work fine.
The text area should work as well. Could you send an email with your prototype so we can check what's not working in it?
The text area should work as well. Could you send an email with your prototype so we can check what's not working in it?
Yeah, you're right. I was not connecting the variable to the textarea field properly, it's working now - thanks for your response.
Yeah, you're right. I was not connecting the variable to the textarea field properly, it's working now - thanks for your response.
You can use a variable to store the value of the text input. Check out the attached prototype for an example. Here's how to create it:
1. Drag an Input Text Field and a Button onto the Canvas.
2. Create a Variable.
3. With the Button selected, create an "On Click" + "Set Value" event, with the Variable as the target of the "Set Value" action.
4. For the value, click 'calculated'. In the Calculated Expression builder, drag the Input Text Field into the open space in the expression.
5. Create an "On Click" + "Link To" event, and link to another screen.
6. On that screen, create an "On Page Load" + "Set Value" event, and select a Text widget to be the target.
7. For the value, click 'calculated', and drag the Variable into the open space in the expression.
You can use a variable to store the value of the text input. Check out the attached prototype for an example. Here's how to create it:
1. Drag an Input Text Field and a Button onto the Canvas.
2. Create a Variable.
3. With the Button selected, create an "On Click" + "Set Value" event, with the Variable as the target of the "Set Value" action.
4. For the value, click 'calculated'. In the Calculated Expression builder, drag the Input Text Field into the open space in the expression.
5. Create an "On Click" + "Link To" event, and link to another screen.
6. On that screen, create an "On Page Load" + "Set Value" event, and select a Text widget to be the target.
7. For the value, click 'calculated', and drag the Variable into the open space in the expression.
@Danielle your example worked great for something I m working on. Do you have any other snippets you can share? thanks
@Danielle your example worked great for something I m working on. Do you have any other snippets you can share? thanks
Replies have been locked on this page!