Fluent Validation not working on length
问题 I am trying to get Fluent Validation to work correctly on my client side validation. I am using ASP.NET MVC 3. I have a title that is required and it must be between 1 and 100 characters long. So while I am typing in the title an error message displays that is not in my ruleset. Here is my rule set: RuleFor(x => x.Title) .NotEmpty() .WithMessage("Title is required") .Length(1, 100) .WithMessage("Title must be less than or equal to 100 characters"); Here is the error message that is displayed: