[Login Button] No validation on wrong/empty login credentials

I use the login button from the login form widget to let anonymous users login to my application. I have to use this login button (and not the regular login form that does work correctly) because because the login button allows me to trigger a microflow and pass an object that I have created while the user was still anonymous. The problem is that when you don’t enter a username or password, or your credentials are incorrect, you don’t get validation on this. Am I doing something wrong? I have added the following in the index.html (as it says to do in the documentation of the widget): <script type="text/javascript" src="mxclientsystem/mxui/mxui.js"></script> <script type="text/javascript" src="widgets/loginsystem/lib/CookieExtender.js"></script>
1 answers

I haven't managed to get any validation with the Login Button. But if you use the log in form it does validate and prompt for you.