Home › Forums › ACF PRO › Handling Errors caught in acf/pre_submit_form filter › Reply To: Handling Errors caught in acf/pre_submit_form filter
You can’t repopulate the form.
Use an acf/validate_value filter for specific fields https://www.advancedcustomfields.com/resources/acf-validate_value/
For example, for the email field you can check existing email addresses. This will create an error message during the validation phase of the form.
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.