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

This commit is contained in:
zero 2007-03-02 05:44:37 +00:00
parent d9a04bed3a
commit 380d8f29a6
6 changed files with 58 additions and 4 deletions

View file

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