Help with multidropdown!

Hello guys! i am new here and i am building my first app

so now i am in a point where i have to display a dropdown that should be the result of a multi dropdown list, so basically, the though is this…

Disease A comes from symptoms B and C

In the multi dropdown i select the symptoms and i want to display in the other dropdown, the diseases that are related to those symptoms,

the problem is specifically in the part where i have to add a constraint to my search just for the items that are in the multi dropdown

I thought that i just had to put in the constraint “disease contains multidropdown symptoms value”, but it is now working, bubble asks for more things

can anyone help me please ?

Thanks!

Hey @johan2655

Welcome to Bubble :grinning:

If you can post a few screenshots of where you’ve gotten to, it’ll make it easier for the community to help you isolate where you’re going wrong and set you on the right path


Josh @ Support Dept
Helping no-code founders get unstuck fast :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

thanks for the hint!

Here is the screenshot of the part i got stuck

i know that it is has to do to the fact that the “thing” that i created, has a list os values in it, as follows:

image

basically I created a new disease based on the list of symptoms that I selected, and now I want to show this disease whenever I select the same symptoms

Hmmm I’m not sure I totally follow. But my question is, is there are common piece of data to match between the tables regiões do sintoma and the dropdown?


Josh @ Support Dept
Helping no-code founders get unstuck fast :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

Yes! there is, let me try to explain a little bit better

basically i created a new type of disease, within this disease i created an item that references several different symptoms, these symptoms come from something else i created, called symptoms

For the dropdown logic I used a bubble tutorial that explains the relationship between country and cities, basically to create the city you need to have the name of the city and its country,

I used this same logic for the disease, but with the difference that, for a disease, one or more symptoms are needed

so that I could create a disease with multiple symptoms, I installed the multi dropdown plugin, so that when I create the disease, it could have multiple symptoms together,

until this moment everything was ok, I did some tests and it was ok,

however when I went to create the disease dropdown, I need to do a search within the diseases that have the symptoms that I chose in the symptoms dropdown,
but that’s where I got stuck,

I’m not sure if the problem is in the dropdown or when I create my new disease,

I also don’t know if “set list” is the correct way to save the various multidropdown selections

I get what you’re trying to do and it all makes sense. I’m having trouble wrapping my head around where the problem is and I probably need to have a look in the Bubble editor for your project to be able to provide a solution.

Are you able to temporarily open access and DM me the link?


Josh @ Support Dept
Helping no-code founders get unstuck fast :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

Sure i can! can you tell me where i can do it ?

Or if it is easier for you, and if you have the time, can you show me an example of how to build a constraint based on the values of a list ? i think that it would hep very much!

If it helps, from another point of view, i have a disease dropdown, and each disease comes with one or more symptoms, i need to display these symptoms every time i choose a disease from a dropdown. The symptoms are a list of another type of thing called “symptoms”

image
Here is a new update on my situation!

i think the problem has to do to the fact that i need to build a constraint with a list of choices, but bubble tells me that the “thing” that it should be is not a list

does anyone knows what the solution might be ?