protected function getCommandForm() { $form = new BaseForm(); $form->setWidgetSchema(new sfWidgetFormSchema(array('dm_command' => new sfWidgetFormInputText()))); $form->setValidatorSchema(new sfValidatorSchema(array('dm_command' => new sfValidatorString()))); return $form; }