0
I came across the following doubt.
I am using jQuery Validation Plugin v1.13.0 to validate my client side form.
It’s working, all right.
but the problem I can’t solve is I have a field with a name produto[]
, which is an array that sends several fields with that name. I can send 1 how can I send 20 products.
data_emissao: {required: true},
forma_pagamento: {required: true},
produto[]: {required: true}, // coloquei assim mais sem sucesso.
someone has come across this problem?
What problem are you encountering? it does not validate if it has at least 1 product?
– Caputo
It does not validate, this product field[], actually if you put product[]: {required: ""}, from the error in this line
– Clayton Eduardo Mergulhão