AnsweredAssumed Answered

Update Choice Control value with Javascript on Nintex Form

Question asked by darrentcs on Sep 27, 2016
Latest reply on May 25, 2017 by kelliganp

Hi all,

I am trying to update a choice control - set to option buttons that has three choices, None, Risk Query, Request for Information. In advanced settings it has a variable set to RequestTypeNew.

 

I have a button on the form  that calls a JavaScript function called 'Check Query type" to set the Choice Control field to value to 'None' when clicked.

 

In the Check Query Type function I have the following:

 

NWF$('#' + RequestTypeNew).find('input:option[value="None"]').attr("checked","true");

 

but the Choice control with variable ReqestTypeNew is not updating when the button is pressed/form submitted. Instead the Choice Control field keeps the last value set in the form

 

I think the above JavaScript is wrong? 

 

Any help appreciated,

 

Darren

Outcomes