See 
http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29

Jörn

On Fri, Sep 5, 2008 at 12:56 AM, nonsense <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm using Validation plugin (http://docs.jquery.com/Plugins/
> Validation) and I want to use it to check whether at least one
> checkbox is checked. Validating for one checkbox is working fine, but
> not for group.
>
> HTML code:
> <input type="checkbox" name="category[]">
> <input type="checkbox" name="category[]">
> <input type="checkbox" name="category[]">
>
> I tried to add "category[]: required" to rules but no success.
>
> Could somebody show me a working example?
>
> Thanks in advance,
> nonsense
>

Reply via email to