File(s) size limit is 20MB.
/* Do not remove this code. */ function reloadImg4116304000038750095() { var captcha = document.getElementById('imgid4116304000038750095'); if(captcha.src.indexOf('&d') !== -1 ) { captcha.src = captcha.src.substring(0, captcha.src.indexOf('&d'))+'&d'+new Date().getTime(); }else{ captcha.src = captcha.src+'&d'+new Date().getTime(); } } function validateDateFormat4116304000038750095() { var form = document.forms['WebToCases4116304000038750095']; var dateFlds = form.querySelectorAll('[ftype=date]'); var i; for (i = 0; i < dateFlds.length; i++) { var dateFld = dateFlds[i]; var usrPtrn = dateFld.placeholder; var dateVal = dateFld.value; if(dateVal.trim() != ''){ var vald = dateFormatConvert.validate(dateVal,usrPtrn); if(!vald){ alert('Please enter a valid date '); dateFld.focus(); return false; } } } return true; } function checkMandatory4116304000038750095() { var mndFileds = new Array('Case Origin','Subject'); var fldLangVal = new Array('Case\x20Origin','VIN'); 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.'); return false; } } } return true; } function tooltipShow4116304000038750095(el){ var tooltip = el.nextElementSibling; var tooltipDisplay = tooltip.style.display; if(tooltipDisplay == 'none'){ var allTooltip = document.getElementsByClassName('zcwf_tooltip_over'); for(i=0; i