เซี่ยงไฮ้ หยิงฟาน is specialized in manufacturing and marketing geosynthetic lining products and services. Our company imported Germany-made and Italy-made production lines to manufacture geomembrane(เมมเบรน HDPE), geotextile, bentonite GCL (แผ่นรองพื้นดินสังเคราะห์เบนโทไนท์), composite geomembrane, composite drainage network, geogrid, etc. We have more than 16 years' experience of providing installation services for all of our products.
Our Yingfan company is devoted ourselves to manufacture and market the geosynthetic lining products and services. Our products include geomembrane, geotextile, bentonite GCL, composite geomembrane, composite drainage network, geogrid, etc. Our services include professional installation services and related machines & accessories supply.
Before our first YINGFAN company was established, we already started to undertake insallation project. After more than 16 years' development, our geosynthetic lining products and dedicated team have delivered countless cost-effective, reliable and environmetal lining systems. Pleaseread our case studies for more.
");
$("form").submit(function(e) {
// e.preventDefault();
var emailEl = $(this).find("[name='email']");
var messageEl = $(this).find("[name='message']");
var telEl = $(this).find("[name='contact[tel]']");
var emailValid = false,
messageValid = false,
telValid = false;
function formErrMsg(errText) {
$(".error-msg").html(errText);
$(".error-msg").stop().fadeIn(100);
setTimeout(() => {
$(".error-msg").stop().fadeOut(1000);
}, 3000);
}
if (emailEl.length) {
if (!/[-\w\.]+@[-\w\.]+(\.[-\w]+)+/.test(emailEl.val())) {
e.preventDefault();
formErrMsg("Please enter the correct email address!");
} else {
emailValid = true;
}
}
if (emailValid) {
if (messageEl.length) {
// var value = messageEl.val().trim();
var value = messageEl.val();
if (!/\S{10,}/g.test(value.replace(/\s/g, ""))) {
e.preventDefault();
formErrMsg("Please enter your message with more than 10 characters!");
} else {
messageEl.val(value);
messageValid = true;
}
}
}
if (emailValid && messageValid) {
var host = window.location.host;
if (telEl.length) {
var value = telEl.val().trim();
if (/^(zh\-cn\.)/.test(host) || /\.risingcn\./.test(host)) {
if (!/^1[3456789]\d{9}$/.test(value)) {
e.preventDefault();
formErrMsg("Please enter the correct mobile phone number!");
}
} else {
if (value.length) {
/*
if ( isNaN(value) ) {
e.preventDefault();
formErrMsg("Please enter the correct mobile phone number");
}
*/
} else {
/*
e.preventDefault();
formErrMsg("Please enter your phone number");
*/
}
}
}
}
if (e.currentTarget.id == "homeForm") {
// alert("asd1f2s1df");
e.preventDefault();
let flag = false;
let protocol = window.location.protocol;
let backpage = protocol + "//" + document.location.hostname + "/inquiryok?back=" + document.location.pathname;
if (emailValid && messageValid) {
flag = true;
}
if (flag) {
$.post(protocol + "//inquiry.digoodcms.com/api/save/yingfanenviro", $(this).serialize(), function(res, status) {
if (res.indexOf('Inquiry Send Success') >= 0) {
// window.location.href = backpage;
$("#homeForm").hide();
$(".submit-success").show();
}
});
}
}
});
});