The validation plugin requires unique names, except for groups (radio,
checkbox), where each element in the group has to have the same
element.

You can add an index to your names: thumbs[0], thumbs[1], etc. PHP can
handle that, too.

Jörn

On Thu, May 7, 2009 at 4:25 AM, JLHeidecker <jasonheidec...@gmail.com> wrote:
>
> This is regarding use of jquery validate plug-in.
>
> I have ten fields of type="file" with name="thumbs[]"
>
> I have added class="required" to the first three, but does not give
> the intended result.  obviously i'm trying to require the first three
> of the ten possible thumbnails image uploads.
>
> how do i accomplish this?  does jquery validate work with #id
> selectors?
>
> Many thanks
> Jason
>

Reply via email to