Hello,
In this example :
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxvalidator/index.htm#demos/jqxvalidator/defaultfunctionality.htm
Name validation :
{ input: ‘#userInput’, message: ‘Username is required!’, action: ‘keyup, blur’, rule: ‘required’ },
Password validation :
{ input: ‘#passwordInput’, message: ‘Password is required!’, action: ‘keyup, blur’, rule: ‘required’ },
When you click on the UserName Field, nothing happen. If you hit “TAB” key inside UserName field, you will switch to Password field.
Validation for UserName will be triggered by the “blur” event and will return an error since the field is empty.
BUT… the issue is with the Password Field. Trigger are : KeyUp and Blur. When you “enter” the field using TAB Key, you trigger the keyup event and the validator return an error right away.
Is there a way to “ignore” TAB key inside Keyup Event ?
Thanks
Jean-Frederic
Canam Group