[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] [validate] Test that at least one input element has value

2008-10-30 Thread Torgeir
I have a product listing where the user can enter the required quantity of each product. The setup is something like this: Name Address ... Product1 Product2 Product3 Product4 ... It doesn't make sense to accept an order without any products. So I want to make sure that a