I’m a bit confused for how to use the validation function since the example is a bit different from what I want to use it for. Basically I want to check a field for the value that was entered before the post (front end form) was saved and depending on a condition redirect to another page. The $valid variable is confusing me though and I’m not sure how that would factor into this.
Is there a more simple example for this hook?
Hi ahowell1,
I think an easier hook for you to use would be acf/pre_save_post
http://www.advancedcustomfields.com/resources/acf-pre_save_post/
With it you can check for your field values using $_POST and do a wp_redirect based on the value.
Good luck!