you're in luck! $form['fieldname_here']->renderError(). It returns a string. not empty = error. You need to use widgets to create the form tags (input, textarea and etc) or else it wouldn't work.
On Sep 4, 6:12 pm, sweetgirl <ezziani.cha...@gmail.com> wrote: > Hi jarthel, > please did you find the answer to the first question, i want me to to > change the place of the error msg (required, invalid), i want to > replace them far from the form > i searched in a lot of class and files and i didn't find them > best regards > > On Sep 3, 2:09 am, jarthel <jart...@gmail.com> wrote: > > > more questions please :) > > > 1. how do I display validation errors in custom template? I was able > > to find the source of the default signinSuccess.php but it's unclear > > on what to include in my template. I believe the default form uses > > this class => sfGuardFormSignin.class.php. > > > 2. How do I tell sfGuard to redirect to a particular page once login > > is successful? > > > 3. Do I need to have records in sf_user if I'm authenticating via > > LDAP? > > > Thanks again :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---