facebook

Passing Data Between Screens

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #338727 Reply

    draftus
    Member

    Hello,

    I have some data on a screen and I wanted to pass it to the next screen that I am calling. Does anyone have a suggestion how to do this?

    Thanks,

    #338745

    Brandon
    Member

    You can save any info into a variable if you need to use it later.
    So if its a string you can simply use:

    var myInfo = ”; //declare string to use later

    //Later
    myInfo = ‘This is how I recall information’:

    //put into text box
    $(‘#m1-home-textbox1’).val(myInfo);

    You can do this with any variable type.

    If you need to save it much later, like after they close the app and come back you can use localStorage.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Passing Data Between Screens

You must be logged in to post in the forum log in