On Dec 1, 2:10 pm, Gareth McCumskey <[email protected]> wrote:
> I stand open to correction but I believe that ALL fields need to have a
> validator applied, even if that validatoion is nothing. Just check that you
> have a validator applied to each form widget.
>
> On Tue, Dec 1, 2009 at 1:56 PM, Hong Kil Dong <[email protected]> wrote:
>

You are correct, but these errors will show up as "unexpected extra
form field" errors in the global error array.

>
>
>
> > I've fallen into a strange trap - my form doesn't pass validation but
> > neither form's fields nor calling $form->hasGlobalErrors() reports
> > errors...
> > How to find out what cause form validation to fail ?

Are you sure the form validation is failing? What clues do you have in
that respect? Are you redirecting back to the same page?
Check the developer toolbar also - as of I think Symfony 1.3 you can
see all the form errors in the view section, which lights up
orange :o)

> > You received this message because you are subscribed to the Google Groups
> > "symfony users" group.> To post to this group, send email 
> > [email protected].
> > To unsubscribe from this group, send email 
> > to>[email protected]<symfony-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en.
>
> --
> Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> twitter: @garethmcc

--

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.


Reply via email to