facebook

Saving inputted text

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

    falloffalot
    Member

    I have a multi page app where the user inputs various data into text boxes / fields on each page.
    How do I make it so the inputted data is saved on exit and can be cleared later by a clear button?
    I have tried the auto-save (CincyPlanet) but cant get it to work, mainly because I’m being really thick & have no idea where or what the document load function is! 🙂
    Thanks in advance guys.

    #348066 Reply

    Code_A
    Member

    You can use localStorage to save the data. Search the forums, there are many examples.

    You can auto load the data in the documentReadyHandler within your <project_name>_custom.js file.

    I can provide an example later if needed.

    #348067 Reply

    falloffalot
    Member

    Hey Code A really appreciate the help now I am looking for the right thing lol
    I was searching for saveData! Doh!
    Ok localStorage sounds good 🙂

    Just one thing:
    documentReadyHandler within your <project_name>_custom.js file……..were the heck do I find that?
    Just been all over MobiOne and cant find it!
    Cheers

    #348068 Reply

    Code_A
    Member

    It can be found in your projects www folder. It is created when you generate your project files. This is where you can place all your custom code.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Saving inputted text

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