jquery form validator (checkbox group) -
in documentation, have validate checkgroup
is there way use different method group name ? (parent div ? may be)
normal way :
input name="newsletters[]" data-validation="checkbox_group" data-validation-qty="min1" type="checkbox">
my problem :
i have different name each checkbox (but same group)
ty
try set name of group atribute name , put values in data-value. example:
@for(int i=0;i<newsletters.length;i++) { <input name="groupname" data-value="newsletters[i]" data-validation="checkbox_group" data-validation-qty="min1" type="checkbox" /> }
hope you
Comments
Post a Comment