Select Checkbox(bool) should automatically select all values in choice(multiple) control. I do not want to specify individual values in choice(Multiple-selection) field control.
Individual values it is working fine. here is my code snippet :
NWF$('#'+Respose).find(':checkbox[value='SharePoint']').attr('checked', true);
Here is my code.
ControlName(Response) is my Multi-selection control ID.
UncheckAll(ControlName){
NWF$('#'+ControlName).prop('checked',false);
}
SelectAll(ControlName){
NWF$('#'+ControlName).prop('checked',true);
}
Does any once know how to clear all and select all items in choice field control.