AnsweredAssumed Answered

List lookup control (Checkbox-Multiple Selection) with JS not set to the connected fields

Question asked by mojsana on Oct 7, 2018
Latest reply on Oct 15, 2018 by mojsana


I have a list lookup control (Checkbox-Multiple Selection) in my Nintex Form. With the aid of helpful Nintex Community threads, I added two buttons with JavaScript for the purpose of selecting and clearing all choices on form load. These buttons do what they're supposed to but the selected choices are not set to the connected fields unless I select/unselect some of them manually!

I was wondering if anyone could help me finding the cause of this? 

In case it matters, here are the js codes I used for the buttons:

Select all:

NWF$('input:checkbox').not(this).prop('checked', true);

Clear all:

NWF$('input:checkbox').not(this).prop('checked', this.checked);

Thanks in advance.