Home › Forums › Front-end Issues › Trigger Error on acf/save_post ? › Reply To: Trigger Error on acf/save_post ?
At that point there wouldn’t be a way to prevent the post from being submitted.
Your only real option is to create an acf/validate_value https://www.advancedcustomfields.com/resources/acf-validate_value/ filters for the fields and do your own validation to make sure the values will be acceptable to where you are submitting them to.
If there isn’t a way to know this ahead of time it would be extremely difficult.
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.