Home › Forums › Front-end Issues › ACF field JS validation before submit › Reply To: ACF field JS validation before submit
I don’t know if this is possible or not. I don’t see anything in the JS API about this https://www.advancedcustomfields.com/resources/javascript-api/ but then there are probably hooks that haven’t been documented yet if you dig around in the code.
This could be handled by adding a custom validation filter for this field without using JS https://www.advancedcustomfields.com/resources/acf-validate_value/
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.