Related questions
Add error to Symfony 2 form element
I check some validation in my controller. And I want to add error to specific element of my form on failure. My form:
use Symfony\Component\Form\FormError;
// ...
$config = new Config();
$form = $this->createFormBuilder($config)
->add('googleMapKey', …
symfony2 customize form select options
I'm trying to do a simple form to add an activity with a name and a color.
So I want to make a list with some an array of color, for now it is working I have the name of …