I just can't get custom validators to work properly. I want to be able to use
the validators in addElement with the shorthand name, i.e. just "Regex".
The closet I can get to them working is:
$form->addElementPrefixPath('KM_Validate', 'Validate/',
Zend_Form_Element::VALIDATE);
But now none of the Zend validators work, for example: 'File NotEmpty.php
was loaded but class named KM_Validate_NotEmpty was not found within it.' So
it is still looking in Zend/Validate but is not trying the correct class
prefix.
PS. Is the case sensitivity problem in Zend_Controller on NTFS going to be
fixed? If my production server ran Windows I'd consider it a show stopper.
--
View this message in context:
http://www.nabble.com/Zend_Form-addElementPrefixPath-disables-Zend-Validators-tp18245929p18245929.html
Sent from the Zend Framework mailing list archive at Nabble.com.