开发者

jQuery validation plugin not detecting blank field elements as invalid after they have been validated

Form validation plugin:

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

Test url:

http://docs.jquery.com/Plugins/Validation

How to reproduce:

1.) Click on the name text input. Enter "12345".

2.) Tab to the next field. Enter an invalid email such as "12345@".

3.) Click on the name text input. Delete the data in the field.

4.) Click to an empty field.

Notice how the name field no longer reports incorrect data. It will be stuck like this until you refresh the page or make the email address valid. This is not the behavior I ne开发者_如何转开发ed, and I believe the spec says that this is incorrect. Any thoughts on how to resolve this?


This is just a bug in the library. There is no obvious workaround.


Yes, but when you press submit, it asks for the name again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜