close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Login form needs to distinguish between bad email and bad password

Thread began 11/03/2010 1:50 pm by SaladoGuy | Last modified 3/22/2011 4:51 pm by SaladoGuy | 4058 views | 14 replies

SaladoGuyBeta Tester

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?


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...