Skip to main content
Nintex Community Menu Bar

Uncheck all the multi-select check boxes

  • July 7, 2017
  • 5 replies
  • 330 views
  • Translate All

Forum|alt.badge.img+1

Hi All,

    I'm trying to uncheck all the selections made in the multi-select check box in on-change event of another dropdown using jQuery. When it is a multi-select list box i'm able to achieve the same. can anyone please help me with the solution

5 replies

Forum|alt.badge.img+14
  • Scholar
  • July 7, 2017

does this help   ?

Translate

Forum|alt.badge.img+8

Hello shanthi sritharan‌,

As Marian Hatala‌ mentioned – you're going to need a little JavaScript to make this happen. For instance, I created a JavaScript Button with the following configuration:

Using the Client click property here, I'm about to clear my selections:

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

This same logic can be extended to the change-event of a drop-down. It really just depends on your specific use-case. Thanks!

Translate

Forum|alt.badge.img+13

Hi Patrick Abel‌

Do you know if this should work for a SQL Request control that's rendered as a Multi CHoice check box as well?

I'm trying the code on my form but it doesn't clear the selected choices.

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

In this case selProductCodes is the name of my SQL Request control. Is this correct?

Translate

Forum|alt.badge.img+11
  • May 9, 2018

Hey Abel

Could you assist on my query: https://community.nintex.com/thread/11226

would appreciate. thanks

Translate

Forum|alt.badge.img+9

Perfect, what would the code be if you wanted to check all the boxes?  

Translate