Home › Forums › Front-end Issues › Frontend Custom Validation for acf_form › Reply To: Frontend Custom Validation for acf_form
I do not think so. There would be no point in doing so, but I could be wrong.
But the thing I do know is that for some reason when you add your validation what is being returned is somehow different than what ACF expects to be returned.
What should be returned is JSON object.
You could add custom javascript and use this filter to log the returned value to console https://www.advancedcustomfields.com/resources/javascript-api/#filters-validation_complete to see.
Maybe it has something to do with __() calls, try removing those, I doubt it, but you never know.
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.