Page 1 of 9

saving labels to array

Posted: Sat Sep 21, 2013 12:22 pm
by Michael4771079

Hi,
I am trying to save 2 labels to array.
i think my code is wrong, here are the screenshots

Image

Image


saving labels to array

Posted: Sat Sep 21, 2013 12:58 pm
by Alena Prykhodko

Hello Michael!

Could you please clarify where do you want to save values? In localStorage or to DB?


saving labels to array

Posted: Sat Sep 21, 2013 1:01 pm
by Michael4771079

Hi Alena,
I want to save in local storage first,
I will run a put after that to store in db


saving labels to array

Posted: Sat Sep 21, 2013 1:12 pm
by Alena Prykhodko

saving labels to array

Posted: Sun Sep 22, 2013 6:40 am
by Michael4771079

Hi Alena,

thanks for reminding of that post,
there was a lot of confusion about code and bugs plus we were dealing with a select menu,
I have the code we used for selectmenu but I cant get it to work with labels,

can you give me an example of how to save 4 lables to array in local storage, the db end I can do, I just need the local storage part

thanks for your help


saving labels to array

Posted: Sun Sep 22, 2013 7:25 am
by Alena Prykhodko

Please post code samples that you used.


saving labels to array

Posted: Sun Sep 22, 2013 7:42 am
by Michael4771079

This is the code we used to save textinput values to array in local storage

code//Save company name and email to an array stored in localStorage variable "companiesArray".

save({'coname':Tiggzi("conamelabel_136").val(), "town":Tiggzi("mobilelabel_137").val()}, "companiesArray");
/code

thx


saving labels to array

Posted: Sun Sep 22, 2013 12:30 pm
by Michael4771079

any chance of an anwser here?


saving labels to array

Posted: Sun Sep 22, 2013 12:40 pm
by Alena Prykhodko

It needs some time. We'll update asap.


saving labels to array

Posted: Sun Sep 22, 2013 8:21 pm
by Michael4771079

can someone please help here, waiting 13 hours for something constructive,

searched forum and docs, nothing for saving labels to array,
I know its sunday but someone must know this

on screenshots above the code used is saving part of the array, but not the value
I have presentation at 10am uk