# Create a new field from the app

**URL:** <https://forum.bubble.io/t/create-a-new-field-from-the-app/42886>\
**Category:** Database\
**Created:** [November 20, 2018, 7:06pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886 "2018-11-20T19:06:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![petit-ricard](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@petit-ricard](https://forum.bubble.io/u/petit-ricard)\
**Post date:** [November 20, 2018, 7:06pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/1 "2018-11-20T19:06:11Z")

</div>

Hey everyone,

After the user login on my app he can enter his hobbies in an input. Every time a user tape something new in this input, I want to create a new field in my database.

My goal is to display list of repeating group depending of these entries.

Is it possible ?

Thanks

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 20, 2018, 7:26pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/2 "2018-11-20T19:26:12Z")

</div>

no i dont think you can dynamically create fields, i think you just want to make changes to a thing and add to a field instead right?  
[https://puu.sh/C50mo.png](https://puu.sh/C50mo.png)

---

<div class="post-metadata">

**Author:** ![petit-ricard](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@petit-ricard](https://forum.bubble.io/u/petit-ricard)\
**Post date:** [November 20, 2018, 7:39pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/3 "2018-11-20T19:39:18Z")

</div>

No because the field title depends of the input value

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 20, 2018, 7:45pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/4 "2018-11-20T19:45:28Z")

</div>

no?  
so you want a user to have hobbies yeah? but hobbies is not the field name  
so you want skiing as a field, reading as a field, cooking as a field etc?  
You make hobbies a type and a field called hobby name.  
then user has field name hobbies, type hobbies.

---

<div class="post-metadata">

**Author:** ![petit-ricard](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@petit-ricard](https://forum.bubble.io/u/petit-ricard)\
**Post date:** [November 20, 2018, 7:49pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/5 "2018-11-20T19:49:36Z")

</div>

I understand what you mean and that makes perfect sense. My problem is slightly more complicated.  
To give you an example. That will work like a slack channel. When you click on “add a channel”, a new field general is generated. So I want to say in my DB : this user belongs to this channel. So when filtering, I can have only info from thois channel.

Same think for hobbies.

Does this make sense ? Is it more clear ?  
Maybe my data structure is not appropriate and there is a better way to do

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 20, 2018, 7:52pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/6 "2018-11-20T19:52:36Z")

</div>

i dont understand what the problem is.  
use my method and just display the hobbytype field name type text?

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 20, 2018, 8:07pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/7 "2018-11-20T20:07:09Z")

</div>

[https://storywall.bubbleapps.io/version-test/profile/max](https://storywall.bubbleapps.io/version-test/profile/max)  
click more to see i am showing the two teams im apart of, that is a repeating group.

you do a search for that hobby name, If a hobby already exists = if count is not 0 you create a thing instead of make changes to the user.

---

<div class="post-metadata">

**Author:** ![petit-ricard](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@petit-ricard](https://forum.bubble.io/u/petit-ricard)\
**Post date:** [November 20, 2018, 9:09pm UTC](https://forum.bubble.io/t/create-a-new-field-from-the-app/42886/8 "2018-11-20T21:09:20Z")

</div>

Thanks for your help 🙂
