# RG fed from input versus database search

**URL:** <https://forum.bubble.io/t/rg-fed-from-input-versus-database-search/123158>\
**Category:** Questions\
**Created:** [November 27, 2020, 8:29pm UTC](https://forum.bubble.io/t/rg-fed-from-input-versus-database-search/123158 "2020-11-27T20:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bubble\_enthusiast](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@bubble\_enthusiast](https://forum.bubble.io/u/bubble_enthusiast)\
**Post date:** [November 27, 2020, 8:29pm UTC](https://forum.bubble.io/t/rg-fed-from-input-versus-database-search/123158/1 "2020-11-27T20:29:55Z")

</div>

Can you feed a repeating group directly from a text input rather than looking up the values from the database?

Eg, I have a text input for “Favorite Months” and a “Submit” button that would push whatever value is in the “Favorite Months” input to the repeating group. I expect this should be a lot faster than having to query the database for a value just entered by that user.

Ideally, this would function with a “Delete” icon on each repeating group cell so that months could be removed as well.

Thanks in advance for the help.

---

<div class="post-metadata">

**Author:** ![rico.trevisan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rico.trevisan/32/170176_2.png) [@rico.trevisan](https://forum.bubble.io/u/rico.trevisan)\
**Post date:** [November 27, 2020, 8:56pm UTC](https://forum.bubble.io/t/rg-fed-from-input-versus-database-search/123158/2 "2020-11-27T20:56:21Z")

</div>

Yes, it’s possible. I would create a `state` somewhere in the page. That `state` should be a `list of texts`. When the user hits enter, add that value to the state.

---

<div class="post-metadata">

**Author:** ![bubble\_enthusiast](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@bubble\_enthusiast](https://forum.bubble.io/u/bubble_enthusiast)\
**Post date:** [November 27, 2020, 10:37pm UTC](https://forum.bubble.io/t/rg-fed-from-input-versus-database-search/123158/3 "2020-11-27T22:37:55Z")

</div>

Thanks @rico.trevisan. This worked perfectly, I appreciate the quick assist.
