on 08-28-2014 9:10 AM
Hi guys,
Here is the case:
On screen A, there is a text box to get the user's input. Say, user types in a number, 1234.
Then user press a script button so that UI moves to the next sceen B.
On screen B, there is another text box as input field. Now I want the value from screen A, ie, 1234, to be displayed in this text field when screen B is shown. Finally, user can directly press an action button to do something based on this value from screen B.
Question:
The value 1234 is input in screen A, how can this value be passed to screen B in the given field?
I see that on a single screen, one can use args.xx to store the variable in JS script. Would this variable also be visible in other screens using JS?
Thanks a lot!
Br,
Dong
Hi,
Just add extra info for this question: please be aware that the different screens I am taking here are made in different flavours - meaning that I am asking how to pass variable values between flavours when calling "Switch flavour" in script. There is another way of having multiple screens by calling tcode, but that is not what I am asking here.
Br,
Dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neil,
The copy/past does not work between screens. Here is what I did:
On screen A, I used a script button to "Copya value" into a var, "x", from a textbox.
Then on screen B, I added a script button, which "Paste value" of "x" to a textbox.
But no data is shown in the textbox.
Any idea?
Thx.
Dong
Many thanks for all answerings.
Dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.