var x = document.getElementById("p1_email").value;
var filter = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
if (filter.test(x)) {}
else {
alertMsg += " - " + "Invalid Main Presenter Email Address" + "
";
}
form validation email
Leave a Reply
You must be logged in to post a comment.