Would someone please share their implementation of having separate error messages for minimum and maximum string length using data annotations in MVC?
It seems StringLength
only allows a single error message a MinLength
/MaxLength
do not generate unobtrusive validation markup as they are not IClientValidatable
Although this seems like a very common requirement I cannot find an implementation on the web.