Hi Ville,
getErrors() only returns the errors of that specific Form instance,
but not of any children. You can loop through the Form children and
call getErrors() on them to receive their errors.
Hope I helped,
Bernhard
--
If you want to report a vulnerability issue on symfony, please send it
Hi there,
I've been refactoring our app to conform most recent (and excellent)
Form component changes. Before it was possible to override $form-
validate() to do some custom validation, however now it seems to be
obsolete. I've moved validation constraints into the data object by
defining a