This is special post for symfony developers, who struggling for get all error message from symfony-1.4 form object.
It's very easy for normal form object, see below code block :
1: <?php
2: $errors = array();
3: foreach ($Form->getErrorSchema() as $key => $err) {
4: if ($key) {
5: $errors[$key] = $err->getMessage();
6: }
7: }
8: ?>
See errors array :
1: <?php
2: print_r($errors);
3: ?>