Symfony Forms - trigger a custom error message in a form
- by Martin Sikora
Hello, in my frontend application I'm using my own login form (just email and password fields) and in the login action I'm trying to check whether the user was logged in successfuly or not.
My question is: If the user wasn't logged in successfuly is there a simple way how can I add an error message to my login form?
Do I have to write my own validator?