Home › Forums › Front-end Issues › Frontend Custom Validation for acf_form › Reply To: Frontend Custom Validation for acf_form
This is what I would do next. I would start at the top of the function and I would add
return 'This is a test';
I would return this value without checking anything to see if the code is called and got that far. Meaning you should always see the message for the field.
I would then move the return, alter the text so I was sure I was seeing the new message. I would keep moving it and testing until is stopped working.
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.