[inline] if (f.elements[“ne”].value!=f.elements[“ne1”].value) {
alert(“The re type email is not correct”);
return false;
}

if (typeof newsletter_check !== “function”) {
window.newsletter_check = function (f) {
var re = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-]{1,})+\.)+([a-zA-Z0-9]{2,})+$/;
if (!re.test(f.elements[“ne”].value)) {
alert(“The email is not correct”);
return false;
}

if (f.elements[“nn”] && (f.elements[“nn”].value == “” || f.elements[“nn”].value == f.elements[“nn”].defaultValue)) {
alert(“The name is not correct”);
return false;
}
if (f.elements[“ny”] && !f.elements[“ny”].checked) {
alert(“You must accept the privacy statement”);
return false;
}
return true;
}
}
[/inline]


Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Fill out this field
Fill out this field
Mohon masukan alamat email yang sah.
You need to agree with the terms to proceed