i wanted to do validation using
data-validationattribute in jquery,so what i wanted to check is how to limit input in
maxlength and to be only alphabet chars,so
maxlength worked but
minlength didn't !! it was like "not valid attribute for input in HTML5",
<label> at least enter 45 chars </label> <input name="name" data-validation="custom and length" data-validation-length="min45" data-validation-regexp="^([a-z]+)$"/>
Now this was like
data-validation="custom" but i was totally just trying randomly alone and did this
data-validation="custom and length" i dont know why i add
and between them but this worked and i both got restriction on length and on minimum number of chars entered
so i did like this
data-validation-length="min45 and max60" but it didnt work !
can anyone tell me how to restrict the enterd number of chars (min and max ) on the same input using
also if i can fing properties of
data-validation="like what to put here to combine validation on more than one property of the input tag" ?
Thank you so much