How can i filter a Repeater by Collections adding a dropdown button

Hey Guys! Can i Filter a Repeater using a drop down button to filter from a collection ?
I have 4 Collections in the Wix store So what i want is For Example
Note: the choices on the drop down is 1- Smg 2 -LMG 3-Assualt RIfle 4-Shotguns
So What i want when i choose Smg from the Drop down i want the repeater to show me the SMG Collections
and when i choose LMg from Dropdown i want the repeater to show me the LMG Collection
how can i do that ? what is the cod

Mohammed, Thanks !

Take a look at the Search a Database example to see how to use Dropdown to filter a collection.

Hey thanks for your Reply ! but the problem that i dont want it with search only dropdown im new to wix coding xD also its 4 collections from Wix store so i cant edit or delete anyfield so what should i do ? ^^

@tombrider2009 Use the example, get rid of the search bar and the search bar code, and then use the Dropdown part for doing your filtering. Change the field names for the collections that you want to use.