2009年10月1日星期四

Re: [fw-mvc] Zend_Form Validator doesn't work with a custom decorator

 $this->addElement('select', 'regions', array(            'multiOptions' =>$this->data['regions'],            'required'    => true,            'decorators' =>  array('Errors',array('ViewHelper',array('helper' => 'formSelect'))),            'validators'  => array(                 array('Digits',true),                     array('Db_RecordExists', false, array('table' => 'regions',                                                              'field' => 'rcode'))                 )         )); 

View this message in context: Re: Zend_Form Validator doesn't work with a custom decorator
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: