nl_tokens: Mark fields in this form invalid in bulk .
pl_tokens: function ( errors ) { var me = this , e , eLen , error , value , key ; function mark ( fieldId , msg ) { var field = me . findField ( fieldId ) ; if ( field ) { field . markInvalid ( msg ) ; } } if ( Ext . isArray ( errors ) ) { eLen = errors . length ; for ( e = 0 ; e < eLen ; e ++ ) { error = errors [ e ] ; mark ( error . id , <mask> . msg ) ; } } else if ( errors instanceof Ext . data . Errors ) { eLen = errors . items . length ; for ( e = 0 ; e < eLen ; e ++ ) { error = errors . items [ e ] ; mark ( error . field , error . message ) ; } } else { for ( key in errors ) { if ( errors . hasOwnProperty ( key ) ) { value = errors [ key ] ; mark ( key , value , errors ) ; } } } return this ; }