From: Martin Kutschker Date: Fri, 21 Mar 2008 21:24:11 +0000 (+0000) Subject: Javascript mailform validation doesn't check fields of type 'file' X-Git-Tag: TYPO3_4-2-0RC1~44 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/892420e87b3c264dae2cdba9b149fa78ace36c7c Javascript mailform validation doesn't check fields of type 'file' git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3467 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/ChangeLog b/ChangeLog index bd3ddb04324b..3dd6afa02e85 100755 --- 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 diff --git a/t3lib/jsfunc.validateform.js b/t3lib/jsfunc.validateform.js index 674754aaadf0..3d11eaeb6748 100755 --- a/t3lib/jsfunc.validateform.js +++ b/t3lib/jsfunc.validateform.js @@ -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":