Home › Forums › Front-end Issues › Unique value field › Reply To: Unique value field
Hi John, thanks for your reply and for your code!
After all, I think this is what I did (hard code the post_type), except for removing the 'post__not_in' => array($post_id),
just because my form can both edit and create a post.
So I wasn’t that wrong, was I?
Actually, it worked that way but I’m afraid that it could have a flaw and I am not seeing it.
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.