jquery form validator (checkbox group) -


in documentation, have validate checkgroup

documentatiion method

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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -