Populate Multidropdown

Hi folks,

really enjoying bubbling :slight_smile:

I have a skills list thing that I load into (the great) multidropdown. A user can then select different skills from the multidropdown, when saving those are stored into the userprofile skills field.

the various skills are then stored with a comma: skii1,skill2, skill3.

now when i open update the user profile, i would like to load the csv string into multidropdown so they are displayed as tags. how ever I dont know how to load that csv string into multidropdownb control

how can this be done.

thanks in advance

Hi @magnus.kanholt, did you find a solution to your problem ?

Hi,

Anyone got solution for this case?

Its OK when inserting data:
multidropdown_inserting_data

But how to load as multidropdown and keeping adding data without loose the data already inserted or need to repead all the data again?
multidropdown_retrieving_data

Thank you.

@romanmg could you pls help us ? :slight_smile:

I’m stuck on this one too. Given all the really hard questions that get answered in this forum, surely someone has a solution?

Saving selections from a Multidropdown (using Options) into a Thing as text works fine. Pulling those data items out of the Thing (database) to display in a Multidropdown (e.g. so a user can change their choices) is not too obvious.

Sure plenty of people out there have cracked it!

NB: The Bubble reference manual is great for setting up the multidropdown to display optons and save data, but has nothing to say on using the element to display data that’s previously been saved. Would be great to see even a line or two on this in it!

What exactly are you having rouble with?

OK Solved my own problem. Sharing for the record.

I hadn’t realised that as I was using an Options set for the Multidropdown, the Field for this Datatype would have to be a) a List (this field is a list box), and b) have Field Type the same as the Options set

OPTIONS SET
image

FIELD TO RECEIVE MULTIDROPDOWN DATA - LIST CHECKBOX selected & Field Type matches OPTION SET NAME (above)
image

SHOWS IN FIELD LIST LIKE THIS
image

Which then meant you could simply save all the Options selected
MAKE CHANGES TO THING - UPDATING THE FIELD
image

And Display them as the Default value of the Multidropdown (if there is a database entry which matches the Parent Group’s data type, in my case a School)

SETTING THE MULTIDROPDOWN TO DISPLAY DEFAULT VALUE OF LIST FROM OPTIONS SAVED

Possibly that’s helpful to other people - not sure I’ve explained it wonderfully, but maybe the screenshots help!

1 Like