FILE UPLOAD – file extension filtering

QuestionsFILE UPLOAD – file extension filtering
Giovanni Luca Bonelli asked 9 years ago

In the file upload dialog I want to see (and allow to uplaod) pdf extension only.
It's possible?

Thank You.

1 Answers
Abu Ghufran answered 9 years ago

You will need to use on_insert event handler for this check (code link below)
And show extension limit msg on footer as in screenshot.

Code: http://pastebin.com/YTYybktX
Screenshot: http://tinyurl.com/q6tllao

Your Answer

7 + 11 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?