in the controller isValid am facing problem.
if ($form->isValid($formdata))
This is my Code Zend_Form code
$document = $this->addElement('file','orglogo');
$document = $this->getElement('orglogo')
->removeDecorator('label')
->addValidator('Extension', false, array('jpg,png,gif,jpeg'))
->setRequired(true)
->addErrorMessage('Please upload a valid File (jpg,png,gif,jpeg)');
Its displaying error
File 'orglogo' exceeds the defined ini size
How can i solve this error.
Hurrrrrrrrrrrrrray!!!
Finally i got solution.
Add enctype="multipart/form-data" in your form.
Hope this will help someone.
Cheeeeeeeers, Sathish