git-svn-id: http://xe-core.googlecode.com/svn/trunk@195 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-27 13:20:35 +00:00
parent 1aab635000
commit 3c912fbcb4
2 changed files with 3 additions and 1 deletions

View file

@ -207,7 +207,7 @@ function XmlJsFilterCheckFieldItem() {
var filter = item[5].split(",");
var value = this.getValue(target);
if(!required && !value) return true;
if(!required && !value) continue;
if(required && !value) return this.alertMsg(target,'isnull');
if(minlength>0 && maxlength>0 && (value.length < minlength || value.length > maxlength)) return this.alertMsg(target, 'outofrange', minlength, maxlength);