Home › Forums › General Issues › Validate a post doesn’t conflict with another post’s date/time field › Reply To: Validate a post doesn’t conflict with another post’s date/time field
There is a solution here for accepting only unique values https://support.advancedcustomfields.com/forums/topic/accept-only-unique-values/#post-45359
It is rather simple, but yes, you would need to validate both the start and end date and you would have to do one or more queries check the posts. Yes it would be complicated because you’re talking about (I think) basing uniqueness on 3 different fields.
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.