Page 1 of 1

Local Array Storage from CheckBox

Posted: Sun Mar 01, 2015 11:02 am
by Antonio Kibbutz

Hi! I think I miss something because I'm not able to do a thing. I've read a lot of things but something seems doesn't work.
I have a checkbox list and a search button, you can select multiple choice and then click the search to retrive with a service all the $or queries for the elements selected.
I decide to store all the selections made in an array in local storage, in order to see if it works i decide to display selected items.
So i create an array temp and with a simple for run read all the selected checkbox and put them into the temp array, in the end I use the command

Apperyio.storage.MyArray.set(arraytemp)

ok it's always empty is this the right statement?
I've read all the tutorial before posting :)

PS Sorry for my English


Local Array Storage from CheckBox

Posted: Sun Mar 01, 2015 12:01 pm
by Illya Stepanov

Hi Antonio -

You need to determine what data type you've read and what you're passing inside the local Storage variable.

Could you please show us how you reading values from checkboxes?