Home › Forums › ACF PRO › Max items for post object field › Reply To: Max items for post object field
Hi, and thanks for the answer!
I had already found the relationship field solution, but the type of input generated is not as adequate to the specific usage i’m trying to make of it as the post object’s select2.
The acf/validate_value solution isn’t too bad, but I’d prefer to actually not allow the introduction after the limit value is reached; and as for the select2_init hook, i’ve made some tests and i just don’t seem to get it to run – when putting instructions inside the select2_init add_action, it never seems to actually run, which is weird…
I guess it’s going to have to be the relationship field.
Thanks for your answer though!
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.