I followed this tutorial http://symfony.com/doc/current/forms.html and I rendered my insert form perfectly but only one problem that I can't solve:
I want to show all error of each field when the form is not valid. This is example code:
$form->handleRequest($request);
if (false === $form->isValid()) {
// How to get all error message of each field ??
}
This look like a very basic info but I can not find any guide to solve this problem. Hope someone can help me.
Thanks.