Home Forums General Issues Prevent duplicate entries


Prevent duplicate entries

  • When editing a page, Id like to find a way to check if an acf text field value already exists. If the field value (in this case it’s a building address ) does exist then an alert will be given. This is to prevent duplicate entries. thanks in advance.

    • James

    • July 15, 2019 at 8:11 pm


    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:

    I hope this info helps. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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.