public function executeForm(sfWebRequest $request) { $rappel = new Rappel(); $rappel->setIdQuestion($request->getParameter('id_question')); $rappel->setDateRappel(time()); $rappelForm = new RappelForm($rappel); // unset($rappelForm['cloture']); return $this->renderText($rappelForm); }