You would have to create two records sets, one to lookup the entered username, and another to lookup the entered password. Then you could use a show if Recordset not empty behavior for each recordset to show the correct error message and set the error message for the password recordset to include a link to the for emailPW page.