validatorSchema['password'] = new sfValidatorString( array('min_length' => 6, 'max_length' => 128) ); $this->widgetSchema['captcha'] = new sfAnotherWidgetFormReCaptcha(); $this->mergePostValidator( new sfAnotherValidatorSchemaReCaptcha($this, 'captcha') ); } }