jqgrid - In Jquery is there any Character Validation ? like for numbers we use in editrules: {number:true}? -
i have jquery function, need allow alphabets in category field. know have write function , use custom , custom_func:charvalidation. there in editrules, checks alphabet , make true...
can use pattern attribute
http://www.w3.org/tr/html5/forms.html#the-pattern-attribute
<input name="category" type="text" pattern="[a-za-z]+">
Comments
Post a Comment