Re: [symfony-users] problem with sfWidgetFormChoice

2010-11-12 Thread Eliana Montoya
Hi Pietrino. I dont use a validator for that widget. my schema is: Archivospermitidos: columns: tipo_archivo: { type: string(20), fixed: false, unsigned: false, primary: false, notnull: false, autoincrement: false } -- If you want to report a vulnerability issue on symfony, please send it

Re: [symfony-users] problem with sfWidgetFormChoice

2010-11-11 Thread Pietrino Atzeni
Hi, you should post some lines about the errors you found, it would help. What's the validator for that widget? Pietro I am making a form in the backend and it allows multiple extensions. I'm using sfWidgetFormChoice to allow the user to select multiple options, but I have to concatenate each

[symfony-users] problem with sfWidgetFormChoice

2010-11-11 Thread eliana m.
I am making a form in the backend and it allows multiple extensions. I'm using sfWidgetFormChoice to allow the user to select multiple options, but I have to concatenate each selection. 1-form: $this->widgetSchema['extension'] = new sfWidgetFormChoice(array( 'choices' => Doctrine_Co

Re: [symfony-users] problem with sfWidgetFormChoice

2010-09-23 Thread Gustavo Adrian
Could you show us your DB schema? how do you want to save your multiple extensions on the DB? if you want to save the extensions in only one field then you could override the "doSave" method on your form, take the array of extensions and make a string with pipe separated values ( like: JPG|GIF|PNG

[symfony-users] problem with sfWidgetFormChoice

2010-09-22 Thread eliana m.
hello! I am making a form in the backend. The form must have select a field that allows multiple extensions. The code is: 1. FORM: abstract class PluginIngeindArchivospermitidosForm extends BaseIngeindArchivospermitidosForm { public function configure() { $this->wid