Re: [symfony-users] Re: Debugging forms ..

2010-01-06 Thread Bernhard Schussek
Just do print $form->getErrorSchema(); The error schema implements __toString(). Bernhard -- Software Architect & Engineer Blog: http://webmozarts.com -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfon

[symfony-users] Re: Debugging forms ..

2010-01-05 Thread Florian
hello, just for info, the only way i found to get all errors compiled is this : {{{ // in lib/form/doctrine/BaseFormDoctrine.class.php // or lib/form/BaseForm.class.php public function getErrors() { $errors = array(); foreach ($this as $form_field) {

[symfony-users] Re: Debugging forms ..

2010-01-05 Thread dantleech
In this case it was because widgets in the form were not being rendered .. but that's a different story :) On Jan 5, 5:16 pm, Gábor Fási wrote: > This usually means you forgot to echo the csrf secret field in your form. > > On Tue, Jan 5, 2010 at 17:59, dantleech wrote: > > The problem I have is