function validateFormOnSubmit() { function trim(str) { return str.replace(/^[\s]+/,'').replace(/[\s]+$/,''); } //var str_pattern=/^([a-zA-Z\(/)]+((\w+)\s(\w+))*).$/; var email_pattern = /^[1-9a-zA-Z\-\_]+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/; var num_pattern=/^[2-9]{1}[0-9]{2}-[0-9]{3}-[0-9]{4}$/; var num1_pattern=/^([0-9]*)$/; if (document._mktf.first_name.value=="") { alert("Please enter your first name."); document._mktf.first_name.focus(); return false; } if (document._mktf.last_name.value=="") { alert("Please enter your last name."); document._mktf.last_name.focus(); return false; } //EMAIL VALIDATION if ("") { alert("Please enter your Email Address.");; return false; } //EMAIL CONFIRMATION VALIDATION if (document._mktf.confirm_email.value=="") { alert("Please confirm your Email Address."); document._mktf.confirm_email.focus(); return false; } //COMPARE EMAILS if ( != document._mktf.confirm_email.value ) { alert("Confirmation email does not match. Please check and try again."); document._mktf.confirm_email.focus(); return false; } //ZIP CODE VALIDATION if ("") { alert("Please enter your Zip Code.");; return false; } }

Sign up for exclusive Melitta offers and to receive notification of our Warehouse Sales.

*Email Address
*Confirm Email Address
Street Address
*Zip Code
Phone Number
Secondary Phone
Date of Birth
Your privacy is our top priority. Please read our privacy statement for more details.
© 2008 Melitta USA
Site Map | Privacy Policy | Melitta Group