sfWidgetFormInput() with spaces is correct (for example this problem doesn't concert sfWidgetFormTextarea()). For example I have:
$this->setWidgets(array( 'subject' => new sfWidgetFormInput(), )); $this->setValidators(array( 'subject' => new sfValidatorString(array('min_length' => 5, 'max_length' => 50), array( 'required' => 'error', 'min_length' => 'error2', 'max_length' => 'error3', )), )); I can write 5 spaces and after submit form sfWidgetFormInput() is correct. Could you check this problem in yours applications ? Maybe I have old version symfony 1.2 and in new this problem solved ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---