code: function() { 
        var val = this.getValue();
        
  	   // if nothing in the list
  	   if( val.length === 0) {
  	      return this.options.required ? inputEx.stateRequired : inputEx.stateEmpty;
  	   }
        
  	   return this.validate() ? inputEx.stateValid : inputEx.stateInvalid;
  	}
docs: Return (stateEmpty|stateRequired) if the value equals the typeInvite attribute