mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@207 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d9a04bed3a
commit
380d8f29a6
6 changed files with 58 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue