Search the Community
Showing results for tags 'register form'.
-
Hi guys, my client and I don't like or wish to use Captcha on the register form. Is it possible to add in a field to the registration form and check whether it's not empty and kill the registration? In cubecart.class.php on line 888 before: // Check email is valid if (!filter_var($_POST['user']['email'], FILTER_VALIDATE_EMAIL)) { $errors['email'] = true; $error_messages[] = $GLOBALS['language']->common['error_email_invalid']; } I've tried adding: if ($_POST['user']['middlename'] != "") { die(); } And then adding a hidden "middlename" field to the registration, but even if you complete middle name it lets you sign up. Anyone got any ideas why my code isn't working? Cheers