diff --git a/layouts/v7/modules/Vtiger/resources/validation.js b/layouts/v7/modules/Vtiger/resources/validation.js
index 1bc01e4cb6667ffd183f584997b71389ab9ccc94..e870d8cbe1991076dceec7c148ba512038c0c96c 100644
--- a/layouts/v7/modules/Vtiger/resources/validation.js
+++ b/layouts/v7/modules/Vtiger/resources/validation.js
@@ -62,14 +62,15 @@ jQuery.validator.addMethod("double", function(value, element, params) {
 
 
 jQuery.validator.addMethod("WholeNumber", function(value, element, params) {
-	var regex= /[+]/;
-	if(value.match(regex)){
-		return;
+		var regex= /[^+\-0-9.]+/; // not number?
+		
+		if(value.match(regex)){
+			return false;
+		}
 
-		if((value % 1) != 0){
+		if((value % 1) != 0){  // is decimal?
 			return false;
 		}
-	}
 		return true;
 	}, jQuery.validator.format(app.vtranslate('INVALID_NUMBER'))
 );