I created a stand alone zend form for uploading files and I set the file element as a required field. But the file element is not printing out any error message.
I set the decorators for the file element like so:
// The file element requires the File decorator instead of the
// ViewHelper decorator
$file->setDecorators(array(
'File',
'Errors',
));
I pasted the code here: http://pastebin.com/0D59pxiR
I pasted the template here: http://pastebin.com/SRYh71JN
What am I doing wrong? I thank you in advance for your assistance.