Skip to main content
Nintex Community Menu Bar

Clearing all checkboxes from a List Lookup Multiselect control

  • November 5, 2019
  • 1 reply
  • 12 views

Forum|alt.badge.img+1

I have a List Lookup Multiselect control. This control is in a panel that is hidden/shown based on a drop down. When this dropdown is changed, I need to clear out data so nothing is retained that is not applicable. I have achieved clearing out all other controls, but this multiselect control is not working when using this line in the console:

 

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

 

If I put that piece of code on a button in the Client click, it will clear out the checkboxes. But I need to put it inside a change function. Please help! 

1 reply

Forum|alt.badge.img+1
  • Author
  • Rookie
  • November 5, 2019
I actually figured it out. Used a combination of two lines of codes:
NWF$('input:checkbox').not(this).removeAttr('checked');
NWF$('#' + varDatasetNumber).val("");