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!