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
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
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
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
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