Home › Forums › ACF PRO › Custom validation message does not show › Reply To: Custom validation message does not show
Oke, validate_save_post seems to work.
function my_acf_validate_save_post() {
acf_add_validation_error( 'acf[field_64ad703e1fab1]', 'Please check?? this input to proceed' );
}
add_action('acf/validate_save_post', 'my_acf_validate_save_post');
Keeps me wondering though why add_filter (‘acf/validate_value’) is not 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.