Skip to main content
Nintex Community Menu Bar
  • 10000+ Topics
  • 73,334 Replies
10000+ Topics
I have a Nintex form with two choice controls  (radio buttons) and three YesNo controls. I need to set the selection of the first choice control based on the values selected for the three YesNo controls and the second choice control. From what I've r

I have a Nintex form with two choice controls  (radio buttons) and three YesNo controls. I need to set the selection of the first choice control based on the values selected for the three YesNo controls and the second choice control. From what I've read, this is not possible in Nintex via a rule, but only via custom Javascript. So I added a button to my form which, when clicked, is set up to run the following Javascript: function TabsFunction() {             var myVar = NWF${'#' + ChoiceCtl1).val();             if ((NWF$('#' + CheckBox1).prop('checked') || NWF$('#' + CheckBox2).prop('checked') || NWF$('#' + CheckBox3).prop('checked')) && myVar == null )              {                         NWF$('#' + ChoiceCtl2).val('RCFA Investigation');              }             if ((myVar != null ) {             NWF$('#' + ChoiceCtl2).val('SQESH Investigation'); } } I added this ClientClick to the button: NWF$(document).ready(function(){TabsFunction();}); When I try to test my form with