I\'ve got a problem with a Symfony2 generated CRUD form. (With MongoDB Documents, but I do not think that this is related)
In my controller\'s createAction() method,
For me the form was not submitted, even if I had a submit button. I added the code to solve the problem
$request = $this->get('request'); if($request->isMethod("POST")){ $form->submit($request); if($form->isValid()){ // now true } }