[jQuery] [validate] Validate non-required field

2008-02-05 Thread felixg
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:

[jQuery] Re: [validate] Validate non-required field

2008-02-06 Thread felixg
9:34 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > 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.

[jQuery] [validate] Multiple error classes

2008-02-08 Thread felixg
Hello, I created a validated form with the errorClass set to multiple classes ("classA classB classC"). But now the error messages are duplicated - for each failed validation new message is added, Felix.

[jQuery] jeditable and remote update failure

2008-07-06 Thread felixg
Hello, If I understand correctly jeditable submits the changes in fire and forget mode. What if the submitted data failed to be saved on the server side? Can jeditable revert the changes if the call returned some error? Felix.