Multi-file uploader : allow upload of .jpeg, .jpg or .png files only. How?

Hi bubblers ! I m using MULTI-FILE UPLOADER to upload multiple images. Now, I want to ensure that the USER uploads only .jpeg or .jpg or .png type of file. How to do this in MULTI-FILE UPLOADER ?

1 Like

Hello @adityasinghal08

when filename :split by dot item #2 is jpg
when filename :split by dot item #2 is jpeg
when filename :split by dot item #2 is png

Hello @cmarchan ! I tried as per your suggestion by using below condition.

jpeg jpg png condition

It is working fine for just 1 file, but when no. of files >1 then it fails to abide by this condition.


pdf file uploaded(2)

so it is still not completely sticking to the required file types only.

This topic was automatically closed after 70 days. New replies are no longer allowed.