Data from custom state to database in separate lines

Hello i have a issue and i dont find the solution to this.

here is also the video:

but i hope I will explain it well…

i create a list of technicians which work on one order i create this list of user to using custom state. in this custom state i have for example in two rows two users but how i can save each user (with own data) to database.

without using the plugins?

i see this videos:

  1. https://www.youtube.com/watch?v=kC87wWhrWSU&ab_channel=NoCodeCoder
  2. https://www.youtube.com/watch?v=HYH6uMLZaHU&t=127s&ab_channel=PlanetNoCode

but the 1. use plugin
the 2. is save to the database only one think

thank you

Hi Mj, is there a reason why you can’t create the database entries when you add them to the list and press the first button? This would save you from doing any looping and would remove the need to use a custom state.

Hello @jonathan.baxter1991 yes that was me first solution, but here is changing the ORDER Nr.

according User, and numer in order to before order +001 and any user have own counting. the technicians here [image] are connected to the ORDER Nr. and when the user which add this Order after adding Technicians change the User in drop down then the Nr, of Order is changed but the Technician…

according User, and numer in order to before order +001 and any user have own counting.

the technicians here

image882×652 40.8 KB

are connected to the ORDER Nr.

and when the user which add this Order after adding Technicians change the User in drop down then the Nr, of Order is changed but the Technicians are connecting to the order Nr. before.

Very hard to explain because me language

I don’t understand the problem sorry. You don’t want to add these new technicians to that dropdown?

Sorry with me language is hard to exatly explain :frowning:

i want to only one think create list of user include more information not only the name save this information after is the order submit

its like you you crete order
first you add items to your order and after submit is order created.

or the same when you crete invoice
first you add the items and after save or submit is the invoice created save to the database

thank you

Ok, you can create the items before pressing submit but then only attached them to the order after you press submit. So the item would have a field called order and when you press submit you create the order and then make changes to a list of items and add the order to the order field.

I have solved this with this plugin.

Floppy: localStorage, List Shifter Plugin | Bubble and now working.

but stop me one another issue about which i write in this post: