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

Java script not working in Version 2.9.3.0

Hi All,

My java script function was working on Nintex forms 2.9.0.0 , we have updated the nintex with recent release 2.9.3.0

Here is the function to set value to the drop down list 

function SetValue (jvarCtl, CtlValue)
{

var yourControl = NWF$("#"+ jvarCtl);
var value = yourControl.find("option[title='" + CtlValue + "']").attr("value");
yourControl.val(CtlValue);
yourControl.parent().find("input").val(value);
NWF.FormFiller.Functions.ProcessOnChange(yourControl);
}

jvarCtl is the control to set the value to and CtlValue is the value to set.

Tags (1)
0 Kudos
Reply
1 Reply
sojanm
Nintex Newbie

Re: Java script not working in Version 2.9.3.0

The above code sets the value to the control internally , but is not displaying on the screen.

when I try below code after above function. The alert is showing the correct value.

var Proc = NWF$('#' + jvarCtl).val();
alert(Proc);

Any input?

Reply