felixg schrieb:
Hello, I want to validate a non-required text field that can hold an email address. That is, it can be empty, but if it does contain text it must be a valid email address. I use jQuery 1.2.2 and jQuery validation plug-in v1.2. This code allows any input for some reason: [...]What I'm doing wrong?
Could you post a testpage? Your example code looks fine. Jörn