Home › Forums › ACF PRO › acf_form and allowed file types › Reply To: acf_form and allowed file types
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.
Any ideas?
Thanks in advance!
Gregor
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.