# Add a list (selected items in multidropdown) to a list in the database

**URL:** <https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854>\
**Category:** Need help\
**Created:** [November 18, 2024, 4:35pm UTC](https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854 "2024-11-18T16:35:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jupixy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jupixy/32/235995_2.png) [@jupixy](https://forum.bubble.io/u/jupixy)\
**Post date:** [November 18, 2024, 4:35pm UTC](https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854/1 "2024-11-18T16:35:00Z")

</div>

Hi all,  
I’m wondering how to get this:

My DB-Item contains a list of items:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/0/7/0747db0bb48575e66423efea39f0b66101339622.png)

In my app there’s a MultiDropDown element and also a DropDown element:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/f/afb3a820e4837a9750b9d670d3cfc54fe2711edf.png)

The user can choose one or more items in the multidropdown and only one item in the dropdown element.

Now I placed a button inside my app with the function to update the database record and insert (add/append) all items selected in the multidropdown. That works fine so far:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/6/c6fbdc5ccd866bb6a6747d4203467ec446fe7377.png)

… BUT:  
I don’t want to insert a list with the multidropdown selected items only, I want to append the current items’display value with another string…

I don’t want to insert the list:  
Brandenburg  
Bremen

I want to insert the dropdown-value (string), for example:  
Brandenburg///Heiligabend  
Bremen///Heiligabend

Has someone an idea to achieve that?

Best,  
jupxi

---

<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:** [November 18, 2024, 4:44pm UTC](https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854/2 "2024-11-18T16:44:50Z")

</div>

Hi there,

What you’ll want to do on the workflow is instead of choosing the Display of the Multidropdown, you’ll just select Multidropdown’d Value: `Format as text`.

It’ll then launch a new window where you set what to show for each line item, which in your case would look something like:  
`This item's Display`///`Dropdown's Value`

For the separator I believe a comma should work, and then back on the workflow expression, choose ‘Split by’ and chose comma again.

---

<div class="post-metadata">

**Author:** ![jupixy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jupixy/32/235995_2.png) [@jupixy](https://forum.bubble.io/u/jupixy)\
**Post date:** [November 18, 2024, 5:22pm UTC](https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854/4 "2024-11-18T17:22:17Z")

</div>

This works, but:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/7/47e2ba5179a42bf921cf1157442e827d477444e2.png)

In the db:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/f/1fce7be6e3b1e5df2418575f168ee9734ceb37c4.png)

This is only 1 item in the list, I need 2 items here.

:-/

---

<div class="post-metadata">

**Author:** ![jupixy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jupixy/32/235995_2.png) [@jupixy](https://forum.bubble.io/u/jupixy)\
**Post date:** [November 18, 2024, 5:25pm UTC](https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854/5 "2024-11-18T17:25:51Z")

</div>

Okay, my friends. I got it with your input 😃

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/c/ac967ce5d2979808fe950c3f47dd66c960b2b031.png)

Thanks a lot!

---

<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:** [January 27, 2025, 4:35pm UTC](https://forum.bubble.io/t/add-a-list-selected-items-in-multidropdown-to-a-list-in-the-database/348854/6 "2025-01-27T16:35:31Z")

</div>

Closed on January 27, 2025, 4:35pm UTC

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