Page 1 of 3

Local storage issue

Posted: Tue Jul 24, 2012 4:01 pm
by Michael4771079

Hi
I am trying to get the app to store the info entered into the 3 inputs, (name, mobile and email), but can only get 1 to work at any time, i'm pretty new to this so please be gentle

Image

kind regards
michael


Local storage issue

Posted: Tue Jul 24, 2012 4:28 pm
by maxkatz

How are you storing the data?


Local storage issue

Posted: Tue Jul 24, 2012 4:52 pm
by Michael4771079

Hi Max
in events Image

and then events (load) and then set property Image


Local storage issue

Posted: Tue Jul 24, 2012 4:58 pm
by maxkatz

If you need to store the entered values, then you should save them on button click (not page load).


Local storage issue

Posted: Tue Jul 24, 2012 5:07 pm
by Michael4771079

will this save all 3, do I put all in the same grid, or how do i group them to an event on a single button


Local storage issue

Posted: Tue Jul 24, 2012 5:08 pm
by maxkatz

You can do under the same event (Click).


Local storage issue

Posted: Tue Jul 24, 2012 5:24 pm
by Michael4771079

sorry Max, as i said i am very new to this, can you suggest a tutorial


Local storage issue

Posted: Tue Jul 24, 2012 5:25 pm
by maxkatz

Local storage issue

Posted: Tue Jul 24, 2012 6:27 pm
by Michael4771079

thanks Max
thats sorted your a star,
can I ask you is there a way to build a drop down selectable list of users input and save this to local storage, for e.g. on a taxi booking app can we store their pickup and drop off details for use again


Local storage issue

Posted: Tue Jul 24, 2012 7:13 pm
by maxkatz

Sure you, you are just creating an HTML5 mobile app.