AnsweredAssumed Answered

Auto-check Multi-Selection Checkbox (List-Lookup)

Question asked by richter2100 on May 3, 2017
Latest reply on May 3, 2017 by emha

Hi, Guys.

 

Need help, i have a Multiple-Selection Checkbox (List-Lookup) that i want to check on change of a dropdown.

Can anyone share some javascript code? Thank you.

 

Control Settings - List Lookup

Display format - Check boxes (Multiple-Selection)

 

sample values: [3;#Test1,5;#Test2,6;#Test3,8;#Test4,9;#Test5]

 

i tried these below but no luck

 

NWF$('#' + chkVal).find('input[value=\'3;#Test1\']').prop("checked", "checked");

NWF$('#' + chkVal).find(':checkbox[value=\'3;#Test1\']').attr("checked", "checked");

 

NWF$('#' + chkVal).find('input[value=\'Test1\']').prop("checked", "checked");

NWF$('#' + chkVal).find(':checkbox[value=\'Test1\']').attr("checked", "checked");

Outcomes