File(s) size limit is 20MB.
var mndFileds=new Array('Subject','CASECF7','Phone','Description');
var fldLangVal=new Array('Subject','Name','Phone','Description');
var name='';
var email='';
function checkMandatory() {
for(i=0;i3){
alert('You can upload a maximum of three files at a time.');
return false;
}
if ('files' in uploadedFiles) {
if (uploadedFiles.files.length != 0) {
for (var i = 0; i < uploadedFiles.files.length; i++) { var file = uploadedFiles.files[i]; if ('size' in file) { totalFileSize = totalFileSize + file.size; } } if(totalFileSize > 20971520){
alert('Total file(s) size should not exceed 20MB.');