The validation plugin requires unique names for unique fields. The alternative would be to require unique IDs for all fields, which is even more impractical.
So I recommend to rethink your serverside. After all, the square-bracket notation is just a handy convention, but nothing you couldn't achieve in a different way. Jörn On Tue, Jun 24, 2008 at 10:05 AM, badtant <[EMAIL PROTECTED]> wrote: > > I had the same problems. Haven't figured out any solution yet... What > do you say Jörn? > > On Jun 23, 6:58 pm, owen <[EMAIL PROTECTED]> wrote: >> I have a form that uses some PHP-style input names in order to be able >> to process the input values as an array after submitting: >> >> <input id="date1" name="date[]" class="required" size="10" value="" >> type="text" /> >> <input id="date2" name="date[]" class="required" size="10" value="" >> type="text" /> >> <input id="date3" name="date[]" class="required" size="10" value="" >> type="text" /> >> >> Since the inputs have identical names, the Validate plugin will only >> flag the first field as being required. Is there a way around this, or >> am I better off trying to re-think my server-side processing? >> >> Thanks, >> >> Owen >