# Dynamically Adding form below the same form on clicking the button

**URL:** <https://community.weweb.io/t/dynamically-adding-form-below-the-same-form-on-clicking-the-button/14335>\
**Category:** Developer corner\
**Tags:** workflows, binding, design, weweb\
**Created:** [November 5, 2024, 12:21am UTC](https://community.weweb.io/t/dynamically-adding-form-below-the-same-form-on-clicking-the-button/14335 "2024-11-05T00:21:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neel\_11](https://avatars.discourse-cdn.com/v4/letter/n/57b2e6/32.png) [@Neel\_11](https://community.weweb.io/u/Neel_11)\
**Post date:** [November 5, 2024, 12:21am UTC](https://community.weweb.io/t/dynamically-adding-form-below-the-same-form-on-clicking-the-button/14335/1 "2024-11-05T00:21:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 5, 2024, 6:27am UTC](https://community.weweb.io/t/dynamically-adding-form-below-the-same-form-on-clicking-the-button/14335/2 "2024-11-05T06:27:24Z")

</div>

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](https://broberto.sk/community) or come to a consultation if [you’d like some more 1:1 type of learning.](https://broberto.sk/consult)

---

<div class="post-metadata">

**Author:** ![Neel\_11](https://avatars.discourse-cdn.com/v4/letter/n/57b2e6/32.png) [@Neel\_11](https://community.weweb.io/u/Neel_11)\
**Post date:** [November 8, 2024, 5:54pm UTC](https://community.weweb.io/t/dynamically-adding-form-below-the-same-form-on-clicking-the-button/14335/3 "2024-11-08T17:54:42Z")

</div>

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 :

 ![Screenshot 2024-11-08 at 12.53.48 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/377831e22ba3d2a8359bb19e3b8731d0e8842fa3.jpeg)

can you please help me with it
