Home » HTML » HTML_QuickForm » Bug #3161
validate() doesn´t care of files
Details
| Submitted | 2005-01-11 11:54 UTC |
|---|---|
| From | quickform at yellowsunshine dot de |
| Status | Bogus |
| Package | HTML_QuickForm |
| PHP Version | 4.3.4 |
| OS | Debian Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-01-11 11:54 UTC] quickform at yellowsunshine dot de
Description:
------------
HTML_QuickForm::validate() method returns TRUE if element of type 'file' with 'required'-rule is set even file was not selected/uploded.
Expected result:
----------------
Should return FALSE if file-data is missing.