Home Forums General Issues Field type File isn't validating mentioned file extension


Field type File isn't validating mentioned file extension

  • Hi,

    I have created a custom field for upload video configuration is
    – Type is file
    – An allowed extension is only “MP4”
    – Size is min 1MB and max 50MB.
    – Library “Uploaded to Post”

    While uploading the new video file it’s validating size and file format also but in the Media popup, it’s showing all media of the current post. I mean it’s showing everything image, video, and other files.

    I want to filter the media upload popup only show the videos which I mentioned in Allowed extension “MP4”.

    Is there any way to filter media attachment which is mentioned in the File type filed Allowed Extension?

    I also want to implement it on the frontend with ACF field form.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.