Hello In my form I have two fWidgetFormDoctrineChoice , I would like to know how to save the selected values to the db. Because is only trying to save the text fields.
$this->widgetSchema['usuario_list'] = new sfWidgetFormDoctrineChoice(array('multiple' => false, 'model' => 'sfGuardUser')); $this->widgetSchema['area_list'] = new sfWidgetFormDoctrineChoice(array('multiple' => false, 'model' => 'areamedica')); Thanks for your help This is my schema: Areamedicapersona: connection: doctrine tableName: areamedicapersona columns: usuarioid: type: integer(4) fixed: false unsigned: false primary: true autoincrement: false areamedicaid: type: integer(4) fixed: false unsigned: false primary: true autoincrement: false bio: type: string(200) notnull: true pic: type: string(10) notnull: true relations: Areamedica: local: areamedicaid foreign: areamedicaid type: one SfGuardUser: local: usuarioid foreign: id type: one Thanks for your help. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en