Home › Forums › Add-ons › Repeater Field › Should I avoid using Repeater in this situation ? › Reply To: Should I avoid using Repeater in this situation ?
I would probably avoid using a repeater if one of your goals is to have an admin page that shows all payments by all users. This is not because the repeater is bad for storing the information you want but it is not suited to aggregating values belonging to multiple posts (clients).
I would create a separate post type for payments that has a relationship field that connects it to the client. This will give you an admin page that shows all of the payments in one place. You can add filters and actions that will allow you to add columns (for example a client column) and sort and filter content on the page by these columns. There are a lot of tutorials and examples on the web for creating columns adding sorting and filtering to these columns.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.