Home › Forums › Front-end Issues › Edit existing post on Front › Reply To: Edit existing post on Front
1) Use an acf/validate_value filter on the date field to return an error if the date is already used https://www.advancedcustomfields.com/resources/acf-validate_value/
2) Implement this on the date field in combination with the ACF JS API (I don’t know how to do this, just something to think about) https://dzone.com/articles/disable-dates-in-datepicker, https://www.advancedcustomfields.com/resources/javascript-api/
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.