I am having a little problem using the file upload element. I believe it's
because it doesn't follow the same pattern as most Form Elements by allowing
you to pass the validators to the element in the options array.
I create all my elements using this notation
$this->addElement('file', 'image', array('validators' => array());
However the file element overwrites this with it's own defaults which has
just caused me hours of annoyance! Or have I just done something else
wrong?!
-----
Simon
http://www.ajb007.co.uk/
--
View this message in context:
http://www.nabble.com/File-Element-Validators---Zend_Form-tp19397238p19397238.html
Sent from the Zend Framework mailing list archive at Nabble.com.