8 years ago
3
Topic

Hi

Did someone already developp a validation plugin (if possible) that checks the size of the file we want to upload and warns if the size exceeds the limit BEFORE the form is submitted ?

thanks

cyril

Get a Book for SEBLOD
8 years ago
2
Level 1

Hi Cyril, 

You can already choose a max size for a file you want to upload. 

If you click on the pen next to the name of your upload field, you will find "Maximum size". 

You just have to choose the value. 

Good continuation, 

Ness

8 years ago
1
Level 2

Thanks Nes but it doesn't warn the user if he tries a larger file. 

cyril

4229 Posts
Kadministrator
8 years ago
0
Level 3

To verify file size you need to be able to read file, so this is not possible with current uploader that uses html upload, which tsends file only when form is posted. With ajax uplaoder this won't be a problem.

Get a Book for SEBLOD