/**
* @Route("/", name="homepage")
*/
public function indexAction(Request $request)
{
// Create the dynamic form
/** @var \Symfony\Component\Form\Form $form */
$form = $this->get('dynamic_form.factory')->createForm('new_user');
$form->isSubmitted(); // never works. Not after submission.
// replace this example code with whatever you need
return $this->render('default/index.html.twig', array(
'form' => $form->createView(),
));
}
My form renders correctly and is a very simple configuration. If i submit is neighter
isSubmitted()
norisValid()
do work.