What are your suggestions for a good, simple validation script for a contact form? There are so many out there, that I'm not quite sure which one to use. I don't want to have to take forever to set it up. Just something that's pretty straight forward. Any ideas? :?
Please find the below mentioned link,
http://www.devarticles.com/c/a/JavaScri ... avaScript/
Its very good script for validating the form.
Please find it.
function check_email() {
var email_field = document.form_name.email_field.value;
if( /\b[\w\._-]+@[\w-_\.]+\.[a-zA-z]{2,4}\b/.test(email_field) ) {
return true;
}else {
return false;
}
}