Contact Us

Company
First Name
Last Name
Email
Phone
Mobile
Comments

var mndFileds=new Array(‘Company’,’Last Name’);var fldLangVal=new Array(‘Company’,’Last Name’);function checkMandatery(){for(i=0;i<mndFileds.length;i++){ var fieldObj=document.forms['WebToLeads373128000000512001'][mndFileds[i]];if((fieldObj) && ((fieldObj.value).replace(/^\s+|\s+$/g, '')).length==0){alert(fldLangVal[i] +' cannot be empty'); fieldObj.focus(); return false;}else if(fieldObj && (fieldObj.nodeName=='SELECT') && (fieldObj.options[fieldObj.selectedIndex].value=='-None-')){alert(fldLangVal[i] +' cannot be none'); fieldObj.focus(); return false;}}}