Page 1 of 1

How to keep information input when pressing back button?

Posted: Mon Oct 06, 2014 12:42 pm
by Chris Flowers6766842

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


How to keep information input when pressing back button?

Posted: Mon Oct 06, 2014 1:14 pm
by Evgene Karachevtsev

Chris,

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


How to keep information input when pressing back button?

Posted: Mon Oct 06, 2014 1:18 pm
by Chris Flowers6766842

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

Many thanks.


How to keep information input when pressing back button?

Posted: Mon Oct 06, 2014 1:40 pm
by Evgene Karachevtsev

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


How to keep information input when pressing back button?

Posted: Mon Oct 06, 2014 1:41 pm
by Chris Flowers6766842

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

Thanks.