AnsweredAssumed Answered

Java script not working in Version 2.9.3.0

Question asked by sojanm on Oct 30, 2016
Latest reply on Nov 3, 2016 by sojanm

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.

Outcomes