diff -ru typo3_src-4.2.2/t3lib/jsfunc.validateform.js typo3_src-4.2.2_patched/t3lib/jsfunc.validateform.js --- typo3_src-4.2.2/t3lib/jsfunc.validateform.js 2008-10-06 14:12:10.000000000 +0400 +++ typo3_src-4.2.2_patched/t3lib/jsfunc.validateform.js 2008-10-15 03:26:57.000000000 +0400 @@ -34,6 +34,7 @@ var theEreg = ''; var theEregMsg = ''; var specialMode = ''; + var theLabel, a; while (theField) { theEreg = ''; @@ -149,7 +150,8 @@ function split(theStr1, delim, index) { var theStr = ''+theStr1; var lengthOfDelim = delim.length; - sPos = -lengthOfDelim; + var sPos = -lengthOfDelim; + var a, ePos; if (index<1) {index=1;} for (a=1; a