 			else
 			{
 				var len:Number = stringValue.length;
-				if (len > inputFormat.length ||
-					len + 2 < inputFormat.length)
+				if (len < inputFormat.length - 2 || len > inputFormat.length + 2)
 				{
 					results.push(new ValidationResult(
 						true, baseField, "wrongLength",


		var validInput:String = DECIMAL_DIGITS + allowedFormatChars;
		
		var dateObj:Object = {};
		dateObj.month = "";
		dateObj.day = "";
		dateObj.year = "";
		
		var dayProp:String = baseField;
		var yearProp:String = baseField;

				yearCounter++;
		}

		if ((monthCounter >= 1 &&  monthCounter <= 2 &&
			 (yearCounter == 2 || yearCounter == 4)) ||
			(monthCounter >= 1 &&  monthCounter <= 2  && dayCounter >= 1 &&  dayCounter <= 2  &&
			 (yearCounter == 0 || yearCounter == 2 || yearCounter == 4)))
		{
			return null; // Passes format validation
