cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Unchecked Checkbox (Yes/No) with Choice

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

 

Labels: (1)
Tags (1)
0 Kudos
Reply
2 Replies
Highlighted
Nintex Employee
Nintex Employee

Re: Unchecked Checkbox (Yes/No) with Choice

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.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: Unchecked Checkbox (Yes/No) with Choice

update your code as follows

 

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