Home › Forums › General Issues › Prevent duplicate entries › Reply To: Prevent duplicate entries
Hello,
Thanks for getting in touch!
You can create some custom PHP logic to check if the entered value already exists on the database and display an error if it fails validation.
Here is a filter that you can use: https://www.advancedcustomfields.com/resources/acf-validate_value/
I hope this info helps. Thanks
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.