Hi.
May be I got up on the wrong side of the rock
this morning but if I uncomment the decorators
validation doesn't work !
$this->addElement('select', 'regions', array( 'multiOptions' =>$this->data['regions'], 'required' => true, //'decorators' => array(array('ViewHelper',array('helper' => 'formSelect'))), 'validators' => array( array('Digits',true), array('Db_RecordExists', false, array('table' => 'regions', 'field' => 'id')) ) )); Thanks in advance. Bye
View this message in context: Zend_Form Validator doesn't work with a custom decorator
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论