Home › Forums › Front-end Issues › Change validation message "Validation failed" › Reply To: Change validation message "Validation failed"
Hi there,
Thanks for getting in touch.
You can make use of the acf_reset_validation_errors() function to reset the current errors and then add some custom validation using this filter : https://www.advancedcustomfields.com/resources/acf-validate_save_post/
You can see how the validation works on line 12688 of acf-input.js
I hope this info helps. Thank you.
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.