AnsweredAssumed Answered

Javascript for Selectall and Clearall on Choice control

Question asked by agannarapu@itsmarta on Oct 18, 2016
Latest reply on Dec 28, 2018 by ahmad84

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.








Does any once know how to clear all  and select all items in choice field control.