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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -