Check Boxs not working with local stoage
Hi Peter,
What exactly is not working? An array is saved in localStorage, you can read it and process as you need on the second page.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi Peter,
What exactly is not working? An array is saved in localStorage, you can read it and process as you need on the second page.
When I select 1 check box it saves all of the check boxes into local storage and displays them onto the other page. I just want the ones i selected to show on the 2nd page.
Hi Peter,
Add the following code on the second page to add all the array in a line to a label named labelName:prevar s = localStorage.getItem("arr");
Apperyio("labelName").text(s.replace(/,/gi,",\n"));/pre