showing results for - "jquery validate array input not working"
Alexa
29 Aug 2020
1$('[name^="reg_number"]').each(function() {
2    $(this).rules('add', {
3        required: true,
4        minlength: 2,
5        messages: {
6            required: "Enter Reg Number",
7            minlength: "Enter at least {0} characters",
8        }
9    })
10});
11