jQuery validation issue when click away
Posted: Wed Apr 22, 2009 11:59 pm
I just designed this page:
http://ovielay.com/register1.html
There is an error if you follow below steps:
1. Type "f" (or any letter) in username
2. Click away to pass field or anywhere to blur the focus --> you will see error msg on the username (less than 2 chars)
3. Click back on username
4. Type more "ff" then delete so you have 1 "f" only. Now you see the error message still there
5. Without clicking away, in the username box, type more "ff" again. Error msg still there although >2 chars
6. Click away and error msg not disappear as expected
7. Click back on username box. Now the msg disappear
The desire behavior should be:
5. Without clicking away, in the username box, type more "ff" again. Then the error msg disappears
I use the method as below
http://jquery.bassistance.de/validate/d ... -demo.html
Can someone help to point out the problem? Thanks
http://ovielay.com/register1.html
There is an error if you follow below steps:
1. Type "f" (or any letter) in username
2. Click away to pass field or anywhere to blur the focus --> you will see error msg on the username (less than 2 chars)
3. Click back on username
4. Type more "ff" then delete so you have 1 "f" only. Now you see the error message still there
5. Without clicking away, in the username box, type more "ff" again. Error msg still there although >2 chars
6. Click away and error msg not disappear as expected
7. Click back on username box. Now the msg disappear
The desire behavior should be:
5. Without clicking away, in the username box, type more "ff" again. Then the error msg disappears
I use the method as below
http://jquery.bassistance.de/validate/d ... -demo.html
Can someone help to point out the problem? Thanks