Validation plugin question

Validation plugin question

I've got several input fields with a name "quant[]" (<input type="text" name="quant[]">). How can I set up the rule for these elements?

The belowe code is not working

quant[]: {
      required: true,
      digits: true
}