Symfony2 multiple choice is not validating
I'm creating a simple list of shop carts with users and products assigned to it. My form for new cart looks like this: public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('cartName', 'text', array('label' =>'Nazwa koszyka:')) ->add('user', new UserForm(), array('data_class' => 'Zadanie\Bundle\Entity\User', 'label' => false)) ->add('products','entity', array('label' => 'Wybierz produkty:', 'class' =>'Zadanie\Bundle\Entity\Product' , 'multiple' => true, 'required' => true)) ->add('Zapisz', 'submit'); } and everything is great except that i can submit the form