Login form needs to distinguish between bad email and bad password
To continue my thread about user problems with the login form (showthread.php?t=16940)...
Right now, on the login page, if the user inputs an incorrect email address, they are immediately sent to the "Forgot password?" password reset page which confuses them because then they think their password is wrong even though it's the email address that's wrong (I've had some users get rather disturbed about this behavior).
So I need to either 1) Redirect them to a different page (other than the bad password reset page) when the email address is wrong, or else 2) redirect them to the same page but have it display a different message depending on exactly what's wrong: the email address or the password.
Problem is I don't know how to do either of the above. I tried using WA "Validator" to check the email address field against all a recordset containing all the emails in the customer table (surely that's not a good way to do that! Imagine facebook or amazon doing something like that ...) and configured the Validate server behaviour to redirect to a different page (customer_bademail.php) but it doesn't work, they still get sent to the "bad password" page.
Could someone please tell me how to detect an invalid email address (meaning, one that isn't registered in the system) and print a different message or redirect to a different page?
Thanks!