One repeat, two arrays

Hi Wapplers,

I’m a bit stuck, I have a table, populated by a DB. The purpose is that the end user selects here some rows(via a single checkbox on each row). Presses a button and adds a value that will be stored back into DB(which is handled via a Modal). The values passed from the table, to the Modal are a DB ID and a name value. both values I need, one for display one for updating/inserting back into the DB.

The thing is, that there is no documentation/examples on how to use keyed arrays(I assume this would be the best for my needs) and I tried to do it with two arrays, but then the ID and Name pairs are not in sync due to the repeat that is used for displaying on a single array(can’t use both arrays in one repeat).

Does anyone have an idea how to handle this, or does someone has some documentation on using keyed arrays?

other suggestions are also welcome.

Thanks in advance,

Regards,

Nick

Not an answer to your problem, but it may help in some way: Using Keyed Array Items of Session Storage

Hi Ben,

I have seen that post, but it did not help.

Regards,

Nick