maxLength

open fun maxLength(max: Int, errorMessage: String): ValidationRule