asp.net mvc - Weird behavior with Range DataAnnotation -


i have password field [range(5, 10)].

if input correct value between 5 , 10, displays message error anyway. might causing this?

the range attribute used determine minimum , maximum numeric value field should be. if trying set min/max length suggest using [stringlength(10, minimumlength=5)] attribute set constraint on property think looking for


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -