# Dynamic row addition/delete in a repeating group

**URL:** <https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600>\
**Category:** Need help\
**Created:** [March 9, 2025, 8:23am UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600 "2025-03-09T08:23:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ynseif19](https://avatars.discourse-cdn.com/v4/letter/y/e0b2c6/32.png) [@ynseif19](https://forum.bubble.io/u/ynseif19)\
**Post date:** [March 9, 2025, 8:23am UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600/1 "2025-03-09T08:23:13Z")

</div>

I want help for creating dynamic row addition and delete in a repeating group using custom state. and each row has input field and dropdown value. the purpose is for the user to create variation of product before saving them with one click of a button

---

<div class="post-metadata">

**Author:** ![msgiblin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/msgiblin/32/119904_2.png) [@msgiblin](https://forum.bubble.io/u/msgiblin)\
**Post date:** [March 9, 2025, 8:45am UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600/2 "2025-03-09T08:45:17Z")

</div>

Hi there,

I recommend you looking at this post:

> [@Dynamic row addition in Repeating Group and bulk CRUD of Things using vanilla Bubble](https://forum.bubble.io/t/dynamic-row-addition-in-repeating-group-and-bulk-crud-of-things-using-vanilla-bubble/311607):
>
> 0. Intro In this tip I’ll show you how to dynamically add new rows to a form (Repeating Group), fill inputs in them and bulk create multiple things with a single button click avoiding: any plug-in or JS (while using JS will be much easier - I try to avoid it until I have no choice grinning) creating empty things and using auto-binding As an example we will be creating new Tasks. Data type Task has 2 fields - task name and task description (both are “text” fields). Here is what we will get …

And this plugin: [[🌟 New Features: Ultra-Deep Drill] JSON Assistant Plugin: Your Solution to Complex JSON & API Data in Bubble](https://forum.bubble.io/t/new-features-ultra-deep-drill-json-assistant-plugin-your-solution-to-complex-json-api-data-in-bubble/256414)

Where I incorporate concepts from the first post as well.

Everything happening in Customize mode on a recipe in my app is utilizing JSON Things and custom states (click ‘Customize Recipe’):

> **[KnowThyDrink - Three Dots and a Dash Cocktail Recipe & Nutrition](https://www.knowthydrink.com/recipe/three-dots-and-a-dash)**
>
> The Three Dots and a Dash Cocktail Recipe has
> 250 Calories, 26g Carbs, 24g Sugar, and contains 1.51 alcoholic drinks. Customize with free nutrition calculator here.

---

<div class="post-metadata">

**Author:** ![ynseif19](https://avatars.discourse-cdn.com/v4/letter/y/e0b2c6/32.png) [@ynseif19](https://forum.bubble.io/u/ynseif19)\
**Post date:** [March 9, 2025, 9:11am UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600/3 "2025-03-09T09:11:39Z")

</div>

I used the first post "Dynamic row addition … " but im stuck with deleting rows, whenever I delete row, all the rows below it also being deleted, apparently the solution is to put initial content for the inputs, but it couldn’t do it for the dropdowns

---

<div class="post-metadata">

**Author:** ![msgiblin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/msgiblin/32/119904_2.png) [@msgiblin](https://forum.bubble.io/u/msgiblin)\
**Post date:** [March 9, 2025, 6:57pm UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600/4 "2025-03-09T18:57:57Z")

</div>

Can you show screenshots of how the repeating group is setup, including the dropdown, and how you’re removing a line?

---

<div class="post-metadata">

**Author:** ![ynseif19](https://avatars.discourse-cdn.com/v4/letter/y/e0b2c6/32.png) [@ynseif19](https://forum.bubble.io/u/ynseif19)\
**Post date:** [March 10, 2025, 4:47am UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600/5 "2025-03-10T04:47:00Z")

</div>

![repeating2](https://us1.discourse-cdn.com/bubble/original/3X/8/1/81f65e579d59808e67ad729b6ebcda537f53892b.png)  
 ![repeating1](https://us1.discourse-cdn.com/bubble/original/3X/5/4/54a227a36aa3ea2c404f75a329f9ef97c7840bd0.png)  
 ![repeating](https://us1.discourse-cdn.com/bubble/original/3X/a/e/ae665bd3f260003fa2068a114f859bb1daacbb9d.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 18, 2025, 8:24am UTC](https://forum.bubble.io/t/dynamic-row-addition-delete-in-a-repeating-group/362600/6 "2025-05-18T08:24:07Z")

</div>

Closed on May 18, 2025, 8:24am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
