I ran into an issue when I wanted to display the login form in the Jquery UI Dialog. It works for me to display the form and login with it. However, when I fill in a wrong username the page will refresh, to process the login and of course the modal will be closed where the user should see the error message.
I thought about switching autoopen in the dialog in case there is a login error but how to achieve this. Or is there a way to display the error in an AJAX way without a page reload?
Thanks in advance for any suggestions ideas!