Skip to main content
Nintex Community Menu Bar

Unchecked Checkbox (Yes/No) with Choice

  • July 20, 2019
  • 2 replies
  • 29 views

Forum|alt.badge.img

Hi everybody,

 

I'm trying to unmark the checkbox when I change the choice using the following function:


function vChanged(){
NWF$('input[type=checkbox]').each(function(){
NWF$(this).prop('checked',false);

});
}

NWF$('#' +MyVariable).click(function() {vChanged(); }); //I use the variable "MyVariable" in Choice 

 

 

But, when I change the choice option visibly the checkbox is unchecked but the value in the calulated is equal to true, as I can besides unchecking the value to false, this is impacting on the rules of the form that uses the value of the checkbox

 

2 replies

Forum|alt.badge.img+3
  • Nintex Employee
  • July 23, 2019

Hi,

Can you attach an export of a simple form and few screenshots to help understand your control configurations so that I can take a look at it and replicate the behaviour.


Forum|alt.badge.img+14
  • Scholar
  • July 24, 2019

update your code as follows

 

NWF$(this).prop('checked',false).change();