Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

saving labels to array

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

Image

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

saving labels to array

Hello Michael!

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

saving labels to array

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

saving labels to array

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

saving labels to array

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

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

saving labels to array

Please post code samples that you used.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

saving labels to array

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

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

saving labels to array

any chance of an anwser here?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

saving labels to array

It needs some time. We'll update asap.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

saving labels to array

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

Return to “Issues”