I have a repeating group that displays local events. Each event has a unique location. I want my users to be able to filter events based on what city they are in. I’ve created a dropdown list where they choose what city they are in, but how do I make the repeating group display only events that are located within the city they selected?
If the datasource for the RG is a database search, then add a constraint on the search, so that the location equals the dropdown’s location.
If the datasource is being referred to some other way (not using ‘do a search for’ but, perhaps referring the current page’s data, for example) then you can add a ‘filter’ to the list, again to match the event’s location to the dropdowns value.