Symfony Forms - trigger a custom error message in a form
Posted
by Martin Sikora
on Stack Overflow
See other posts from Stack Overflow
or by Martin Sikora
Published on 2010-04-19T11:35:56Z
Indexed on
2010/04/19
12:33 UTC
Read the original article
Hit count: 462
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?
© Stack Overflow or respective owner