code: function(value, attr, length, model) {
          if (!_.isString(value) || value.length !== length) {
            return this.format(defaultMessages.length, this.formatLabel(attr, model), length);
          }
        }
docs: Length validator Validates that the value has to be a string with length equal to the length value specified