Ciao. Hello, I've a FormFilter with this widget
'name' => new sfWidgetFormFilterInput(), and this validator $this->setValidator('name', new sfValidatorSchemaFilter('text', new sfValidatorString(array( 'required' => false, 'min_length' => 4)))); If I insert a string with less then 4 characters the form is not validated but no errors are set for the form. If I set things this way 'name' => new sfWidgetFormInput(), and this validator 'name' => new sfValidatorString(array('required' => false, 'min_length' => 4))), the error is set but the query in buildQuery is not set properly because the method want as parameter an array like array (text => "string to search", 'empty' => false) What do I do wrong ? Why the error is not set with the first setup ? Thanks -- Simone -- 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