Thanks for the reply. I fiddled with path and got it to work using:
$element->addPrefixPath('My','My/');
However, the same code does not work when I use add the prefix to the form:
$form->addElementPrefixPath('My','My/');
I thought that adding the prefex path to the form itself made the path
available to all of the elements? Am I missing something?
Thanks,
Sam
--
View this message in context:
http://www.nabble.com/custom-form-validator-tp16628634p16710350.html
Sent from the Zend Framework mailing list archive at Nabble.com.