Create a new field from the app

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

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

1 Like

No because the field title depends of the input value

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.

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

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


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.

Thanks for your help :slight_smile:

1 Like