Same here. Happens with the “basic uploader” inside a front end form. But instead of a post, I’m saving user meta values.
1. File upload field is required.
2. A file with a non-approved format is uploaded.
3. Front end form is submitted and redirects to the URL defined inside the “return” parameter. User doesn’t know anything is wrong.
I’m utilizing “acf/upload_prefilter” now to prevent the redirect, but haven’t figured out how to display the error messages in the front end after the page has loaded.
The problem also seems to be related to this post.
Thanks in advance!
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!