Hi all, I embedded a form inside another form, and I try to print errors (of all the forms combined) like this in the template:
<?php foreach ($form->getErrorSchema()->getErrors() as $error): ?> *<?php echo $error->getMessage(); ?><br/> <?php endforeach; ?> It is able to print all the errors as expected so that's good. But for the embedded form fields, the required error message always show: *0 [Reply to Sid is missing.] Instead of just: * Reply to Sid is missing The 0 is the field name. I want to get rid of it (and the brackets) and tried many ways without success. Does anyone know how to just print the error message without the field name and the brackets?? Cheers, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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.