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

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

My DB-Item contains a list of items:

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

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:

… 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

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.

1 Like

This works, but:

In the db:

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

:-/

Okay, my friends. I got it with your input :smiley:

Thanks a lot!

1 Like