Dear amir.askari2005,
You can modify code in the file:
modules\mod_sj_contact_ajax\tmpl\default_js.php
and remove the code:
case "email":
var re = /^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/;
if (!re.test(value)) {
result.valid = false;
result.mes = "Please enter a valid email!";
}
saveValidationState(input, result.valid);
showValidationMessage(input, result);
break;
and:
var emailValid = $email.data("validated");
remove all code like that: && emailValid
var timer1 = 0;
$email.on("keyup", function (e) {
if (timer1) {
clearTimeout(timer1);
timer1 = 0;
}
timer1 = setTimeout(function () {
validateInput($email, "email");
}, 1000);
});
and remove all code like that: || $email_value == ''
and the code:
if ($email_value == '') {
validateInput($email, "email");
}
Thanks