Announcement

Collapse
No announcement yet.

Limit File field with file extensions for upload

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Limit File field with file extensions for upload

    Hi Team,

    It may be better to have a function on File field wherein you could limit the file upload of a user through configuring the file field with allowed file extension and use the "accept" attribute of the input type file.

    HTML Code:
      <input type="file" multiple accept='image/*|audio/*|video/*' >
    It may also be good to have it implemented with Attachment Multiple field type so that we could limit users to upload multiple images or multiple video files only. Its may also have a good idea to have presets of image file extensions, etc. or defaults but admin users should be able still to explicitly configure the allowable extensions like the "accept" attribute of the input type file.

    Thanks!

    Regards,
    Brian

  • #2
    Dear Team,

    How can we restrict only certain file types to be uploaded, from both client and server end. Currently it accepts all extensions.

    Regards,
    Imran

    Comment


    • #3
      Is this feature is there in the latest version ?

      Comment

      Working...
      X