Return to Snippet

Revision: 3914
at October 3, 2007 13:18 by JuliaKM


Initial Code
	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" + "\n";
		}

Initial URL


Initial Description


Initial Title
form validation email

Initial Tags
form, email, textmate, validation

Initial Language
Other