ZF-11581: Only when the whole form is valid, the receive() method should be called and performed

Issue Type: Sub-task Created: 2011-07-20T09:35:25.000+0000 Last Updated: 2011-07-20T09:35:25.000+0000 Status: Open Fix version(s): Reporter: etaty (etaty) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

  • Zend_Form

Related issues: Attachments:


receive is never called when the form is valid.

if ($form->isValid($formData)) { if(file_exist($form->file->getFileName()) { //received has been called } // received not called // some methods to fire the receive() // $file = $form->getValue('file'); // or $form->file->receive(); }

At least please write this in the documentation.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.