Javascript mailform validation doesn't check fields of type 'file'
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 21 Mar 2008 21:24:11 +0000 (21:24 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Fri, 21 Mar 2008 21:24:11 +0000 (21:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3467 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/jsfunc.validateform.js

index bd3ddb0..3dd6afa 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
        * Fixed bug #7903: Use PHP5 features in class.t3lib_extmgm.php (final and static, thanks to Kasper Ligaard)
        * Fixed bug #7906: Use PHP5 features in class.t3lib_befunc.php (final and static, thanks to Kasper Ligaard))
        * Fixed bug #7909: Use PHP5 features in class.t3lib_iconworks.php (final and static, thanks to Kasper Ligaard))
+       * Added feature #5726: Javascript mailform validation doesn't check fields of type 'file' (thanks to Loek Hilgersom and Peter Foerger)
 
 2008-03-21  Benjamin Mack  <benni@typo3.org>
 
index 674754a..3d11eae 100755 (executable)
@@ -71,6 +71,7 @@ function validateForm(theFormname,theFieldlist,goodMess,badMess,emailMess)    {
                                        case "text":
                                        case "textarea":
                                        case "password":
+                                       case "file":
                                                value = fObj.value;
                                        break;
                                        case "select-one":