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
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!
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
FIELD TO RECEIVE MULTIDROPDOWN DATA - LIST CHECKBOX selected & Field Type matches OPTION SET NAME (above)
SHOWS IN FIELD LIST LIKE THIS
Which then meant you could simply save all the Options selected
MAKE CHANGES TO THING - UPDATING THE FIELD
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