Home › Forums › General Issues › Validate Front End Form Submission – Unique Values only › Reply To: Validate Front End Form Submission – Unique Values only
Hello guys!
I have a question. The snippet upstairs works flawless for front-end forms. So, the front end is not accepting NOT UNIQUE values.
However, I have a problem. When I try to edit the post, it does not let me update because of the uniqness of the field and is giving me the error that the field is not unique.
Any thoughts about how to make it not apply to edit forms?
Many thanks in advance!
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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5
— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.
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.