[jQuery] Re: Test that at least one input element has value

2008-12-08 Thread Victor
I just did something similar to your sollution but ended up in the same problem (duplicating the error-message). Did you already found the sollution to it?! On 3 nov, 09:55, Torgeir <[EMAIL PROTECTED]> wrote: > Yes, I need to do somewhat the same thing as the "groups" option does, > but the pro

[jQuery] Re: Test that at least one input element has value

2008-11-03 Thread Torgeir
Yes, I need to do somewhat the same thing as the "groups" option does, but the problem is that I have 20 - 30 products and I would like to add/remove products without having to update the validation each time. Here's what the docs say about the "groups" option: > A group consists of an arbitrary g

[jQuery] Re: Test that at least one input element has value

2008-10-30 Thread w1ntermut3
If I understand you right, I think you need the "groups" option: $("#myform").validate({ groups: { username: "product1 product2" } }); AFAIK, that'll group error messages for your selected elements.