Alex Kovacs <alexk <at> fast.fujitsu.com.au> writes:

>             if (this.validator == null) {
>                 //if no custom validation
>               this.isValid = this.form.isValid();
>             } else {
>                 var validated = true;
>                 
>                 if(!this.validator(this.form, bizData))
>                       validated = false;
>                 
>                 if(!this.form.isValid())
>                       validated = false;
>                       
>               this.isValid = validated;
>               finished = this.isValid;
>             }

I have committed it this way to the forms block in CVS:

if (finished) {
    if (this.validator == null) {
        this.isValid = this.form.isValid();
    } else {
        this.isValid = this.form.isValid() & this.validator(this.form, bizData);
    }
    finished = this.isValid;
}

Should work as well. Can you test it?

Thanks,

Joerg

Reply via email to