Home › Forums › Backend Issues (wp-admin) › How can I dynamically filter the list of posts? › Reply To: How can I dynamically filter the list of posts?
Hi @ebud
I’m a bit confused about your statement:
For the Relationship field I would like to limit the number of items that the user can add to the right to only one item instead of multiple items. I know through the UI you can set a max number of records to return, but this is not what I am trying to figure out.
The max UI option is to limit the number of items allows to be added.
The jQuery load code is going to be pretty complex. I’ll try to find some time to write up a tutorial, but can’t guarantee I will be able to help you with this any time soon.
Perhaps you could read up on jQuery docs regarding .load() and .on()
Thanks
E
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.