Home › Forums › Front-end Issues › Frontend Custom Validation for acf_form › Reply To: Frontend Custom Validation for acf_form
Are you using an ACF email field for the email field or a text field?
ACF already validates for a valid email address.
If you are using an email field, just for giggles, try changing the priority of your validation filter to something > 10
add_filter( 'acf/validate_value/key=field_644ad72c57f66', 'validate_email_field', 20, 4 );
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.