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
Post a Comment