User generated table additions and row creation

I am new to WeWeb and trying to set up a way for users to add information in the top input section, and when they hit Add Equipment, it will add it to the table below. I’m hoping they can do this many times and then submit the form to finalize the submission. Any suggestions or examples of how to accomplish this? I am using Supabase.

You should use a workflow on the form (if you’re using it) or on the button. This workflow should fire an Database | Insert action, where you can set up an insert into Supabase. After that you should simply be able to insert it into the table on click/submit.

Thanks, @Broberto.
I hoped to use the “Add To Equipment” button to dynamically create as many table rows as needed below the button based on the amount of equipment received and then use the submit button to commit the created rows and all of the data above Customer equipment to the database. The area above “customer equipment being submitted” is constant, while the data below could have one or 20 rows, depending on the order.

Hopefully, that makes sense.

Then you should create an array variable, and for each added row, do Change Variable → Insert at End
This way you insert a new object for each row, at the end of the table. You can then insert it by binding this array to the insert workflow action as I mentioned above.

I have a similar problem. And I found that Select Input does not work inside an array. That is, if I create a temporary array and I add lines with equipment in this array, then I cannot use a variable from selector input to somehow update the resulting array. Does anyone solve same case?

When I try to get value of text input used in a List i get nothing