Dynamically Adding form below the same form on clicking the button

Hey I got a form that has address fields in we-web with a button when click allows users to add additional address . So basically when we click the button it should duplicate the above address fields below . And we are not able to get the proper work flow to get the button to work and give us duplicate address fields.

Can someone please assist us on resolving this issue?

You’ll need to do something along the lines of using a repeated group (bind an array to a div) and inside of that group, your form will reside. Them as you add items to that array, you’ll see for each item, an instance of the form will appear. If you need some more specific help, you can come over to the office hours I’m hosting in my Discord or come to a consultation if you’d like some more 1:1 type of learning.

Hey thankyou so much for the help we got the buttons working but now we want to insert array data into supabase but we are running into this error :

can you please help me with it