Log In

Log In



Not registered yet?


Reset password Activation link

Uploaded file type and file size validation

You can set maximum acceptable file size, which user can upload into your database. You can also set which file types can be uploaded, all other types will not be able to upload

We've added several very important validation options to all the File or Image form fields. You can set the file types that you wish your users to upload. You can limit the uploaded file size too.

 

File field validation options, allowed file types and maximum upload size
 

File type validation

You should be able to edit the list of file extensions you would like to allow for upload. One file type per line.

This amazing feature can be useful for you if you need your users only to upload files you need, for example - only word documents or only images.

 

Limit uploaded file size

In simple HTML forms it is impossible to limit the uploaded file size. But in QuintaDB you can have many things which other users have not ever had. So, no wonder, that you can limit the uploaded file size now. Just enter the number representing the limit in megabytes for every upload and you are on the go. Limit it to 100Mb and no one will be able to upload 1Gb files. Remember, that by default our limit is 10Mb

 

In case your users try to upload a file of a bigger size then they will see the following image:


file size error


Please, login to QuintaDB to be able to post comments
Share the discussion in the social networks: