Submit your requirement below for mineral processing proposal!

Please contact whatsapp number via +86 13918045927 for detailed information!

Call Us: (+86) 021-51095338      Fax: (+86) 021-51095339

Email:  [email protected]

function test() { var reg = new RegExp("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$"); //正则表达式 var obj = document.getElementById("sEmail"); //要验证的对象 var selectObj = document.getElementById("products"); var activeIndex = selectObj.options[selectObj.selectedIndex].value; if(document.form.name.value.length==0) { alert("Name is required!"); document.form.name.focus(); return false; } else if(obj.value === ""){ //输入不能为空 alert("Email is required!!"); return false; }else if(!reg.test(obj.value)){ //正则验证不通过,格式不对 alert("Email is incorrectly filled!"); return false; }else if(document.form.phone.value.length==0) { alert("Telphone is required!"); document.form.phone.focus(); return false; }else if (selectObj.value == 0) { alert ("Mineral ore type is required!"); return false; } }