Hi! I don’t understand how to set up repeaters. I have looked at the Wix documentation, but it’s not making sense to me. If someone could explain how to do it here step by step, that would be great!
I am creating USA state pages that will then have the different counties for each state for a user to click on. (See attached image 1). This is the California page (URL is http:///site.com/state/california.) I don’t understand how to set up the repeater so each state page will display the appropriate counties. I am also attaching a screenshot of my current CMS setup (See attached image 2).
Thank you so much! 
Austin
Working in
Wix Editor
Oooo - repeaters, CMS and Dynamic pages - some of my favourite things to work with 
Okay, here goes:
- At it’s core, a repeater is an element that will repeat the same structure, but allow you to have different data. e.g. Imagine your email inbox - each row would be a repeater item (they all share a name, subject line, time etc), just the data in each is different.
- CMS - this is the place that stores the data
- Dynamic pages - there are recently one or two more types of dynamic pages, but the 2 main ones are:
- List page - taking the email inbox idea again, the list page is the base and lists all the items. For example,
/emails
- Item page - this is the page you often land on after clicking on an item in the list page. Again, if we think about emails, this would be the individual email page. e.g.
/emails/{emailId}
In your example, I would structure it as the following:
- 2 CMS collections:
- Use a multi-reference field so that you can attach Counties to the States.
- Your dynamic List page would display the States
/states
- The dynamic Item page would be
/states/{stateName}
- On the dynamic item page, add a second dataset.
- Connect the second dataset to the Counties collection
- Filter the second dataset so that it only displays items if the reference field is equal to the ID of the item from the Dynamic dataset on the page you are currently viewing
- Connect the repeater to this second Counties dataset to display them all in the repeater
Hope that makes sense, and explains a little more. Happy to answer any follow-up questions 