SOLVED: Constrain repeating group by list of things

I have a data set called ‘dishes’. In the data set is a list of ’ menu sections’ from another set.

I am trying to display a repeating group of ‘dishes’ and add a constraint so that only the dishes that contain a certain ’ menu section’ in the list of ‘section’ appears. I can’t seem to figure out how to add that constraint.

I tried to do:
menu section contains a search for menu sections
menu section name = “the name of the menu section”
but the search for remains red

‘Contains’ is for checking whether a list contains a specific item.

So, the value can only be a single thing.

So, assuming that’s what you’re trying to do, you need to specify a single menu section (not a list of menu sections)

Can you post a pic of the dish datatype? Also, where will you getting the value for the menu section? Is the user selecting this in a filter? Will it be hardcoded?

yes thats what I am trying to do. How do I specify a single menu section versus a list?

dish datatype

menu section app data - user will not be able to acces, edit, add to menu sections. They can only choose from the preset app data menu sections when editing a dish.

I want to hard code this specific repeating group to show dishes with one of the menu sections.

By the way you’ve set up the dish datatype it looks like a dish can belong to more than one section of the menu. Is that right?

Also, do menu sections need to be added/edited by end users?

ahhh - I added :random item - that worked. thank you!