hasBeenSubmitted() && ((isset($form->valid) && $form->valid === true) || $form->isValid()) ) { $this->redirectNow($url); } } }