I've just seen a question here about auto submitting form on a webpage (Should Forms Auto Submit (Auto Advance) When Questions Are Correctly Filled In?). Most people answered 'no', because the person might want to correct the data before sending it. But in my case it's slightly different, because it's log-in form. For now it works like this: user inputs some data to login or password field -> when the user clicks anywhere outside the form or presses 'enter'/'return' or 'tab' then an AJAX request is send to the server where the data is checked. Notice, that it doesn't affect user experience as the page doesn't refresh when the server checks for data. But my question is - should I:
leave it as it is
make it send a request every time user changes anything (so that they wouldn't have to click anywhere after completing the form, but there would be no way to notify them that the login/password is wrong, because it would apply after every character they type in)
change it to a regular form with submit button
P.S. Notice that now it makes a 'check' only if both of the forms aren't empty, so you can type password first and then login or anything like this.