Forums

File uploads - Validations

moriwenne 11 May, 2009
Greets.

Max and Bob, I'm going to assume something here and ask if it would be worth it to change it.

Say we make a form with 5 boxes for uploading files. Each box can take a file up to 3Mbytes. The user fills each box with a file but the last one, it is a 5mbytes file.
Now, I assume that the way chronos is validating the file sizes is by uploading them one by one. So basically after uploading 4x3mbytes will it tell the user it can't upload the 5th because it is too big and the user will have to restart.

Would it be possible to verify sizes before sending the files or use some other idea I'm not thinking about at the moment?

Once more, I greatly appreciate what you've done with this nice component.
Thank you.
Mori
GreyHead 11 May, 2009
Hi Mori,

Not at the moment - ChronoForms has no way of knowing how big the files are until after they are uploaded. It might be possible with a JavaScript uploader though.

Bob
This topic is locked and no more replies can be posted.