If I understand you right, I think you need the "groups" option:
$("#myform").validate({ groups: { username: "product1 product2" } }); AFAIK, that'll group error messages for your selected elements.
If I understand you right, I think you need the "groups" option:
$("#myform").validate({ groups: { username: "product1 product2" } }); AFAIK, that'll group error messages for your selected elements.