Guest Posted June 6, 2007 Share Posted June 6, 2007 Hi Folks, I need to remove the email validation from the create account page.. As far as i can tell i have done this, but it still keeps asking questions like 'Your E-Mail Address does not appear to be valid - please make any necessary corrections.' I have removed from create_account.php: if (strlen($email_address) < ENTRY_EMAIL_ADDRESS_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR); } elseif (tep_validate_email($email_address) == false) { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } else { $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); $check_email = tep_db_fetch_array($check_email_query); if ($check_email['total'] > 0) { $error = true; $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS); } } I have also commented out in form_check.js.php: //check_input("email_address", <?php //echo ENTRY_EMAIL_ADDRESS_MIN_LENGTH; ?>, "<?php //echo ENTRY_EMAIL_ADDRESS_ERROR; ?>"); Any ideas why it keeps checking? Thanks Neil Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2007 Share Posted June 12, 2007 Any thoughts? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.