diff --git a/js/property_field.js b/js/property_field.js index e16ffe296..61c3e3c2b 100644 --- a/js/property_field.js +++ b/js/property_field.js @@ -266,7 +266,11 @@ function ValidateWithPattern(sFieldId, bMandatory, sPattern, sFormId, aForbidden if (!bValid) { $('#v_'+sFieldId).addClass('ui-state-error'); - oFormValidation[sFormId].push(sFieldId); + iFieldIdPos = jQuery.inArray(sFieldId, oFormValidation[sFormId]); + if (iFieldPos == -1) + { + oFormValidation[sFormId].push(sFieldId); + } if (sMessage) { $('#'+sFieldId).attr('title', sMessage).tooltip();