actually im just using the login as an example... how to handle error on different type of program?
how about handling an error due to wrong input? For example, i have, lets say 3 types of error on my form, how can i display the error message corresponding to the error.?? TIA On 3/19/07, Alexander Deruwe <[EMAIL PROTECTED]> wrote: > > > On 19 Mar 2007, at 12:50, Eric Bangug wrote: > > Hi all, > > > > i just want to ask a simple question. > > > > If i have a login page and wants to display different types of > > errors depending on users input > > > > ie. > > * invalid password > > * invalid username > > * blah blah... > > > > how can i do it? it definitely not work on sfView::ERROR > > You should look into validators. > But aside from that, I wouldn't give too many information on the kind > of problem on the login page. A user will know his details, and try > again anyway; an unauthorised person shouldn't really know wether or > not the username he's using actually exists or not. > > Cheers, > > > Alexander > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
