Chris Flowers6766842
Posts: 0
Joined: Thu Mar 27, 2014 8:26 pm

How to keep information input when pressing back button?

Hello

When I enter information in to the input and text boxes etc. on one page, then click 'next' to go to the next page, if I then click 'previous' it takes me to the previous page as expected, however the information I entered is not shown in the boxes. How do I fix this please?

Many thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to keep information input when pressing back button?

Chris,

Please save inputs' data in LS and take them out when there is page show and insert in input.

Chris Flowers6766842
Posts: 0
Joined: Thu Mar 27, 2014 8:26 pm

How to keep information input when pressing back button?

I'm sorry, could you elaborate on that please? I'm not sure what you mean?

Many thanks.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to keep information input when pressing back button?

Chris,

You save the value entered in input in Local Storage ( how to work with it, please read here http://devcenter.appery.io/documentat... ). And when the page opens in Events add Set Property event and indicate that the value of the property 'text' will be taken from Local Storage

Chris Flowers6766842
Posts: 0
Joined: Thu Mar 27, 2014 8:26 pm

How to keep information input when pressing back button?

It's ok, I think I understand now. On page load, I set property, bind to component, take information from storage.

Thanks.

Return to “Issues”