Hello,
I use JavaScript in a Nintex form to automatically setup a value in a lookup (drop down list). It works.
After the Nintex form is upgraded from 2.8.1 to 2.9.2.10, this piece of the custom JavaScript code stopped working and can't set up the value in the lookup automatically.
The code likes below,
NWF$(document).ready(function() {
NWF$(document).on('change', '#' + DivisionDirector1, function () {
var DivisionDirector1idLen = NWF$("#" + DivisionDirector1).find("option").length;
if (DivisionDirector1idLen === 2) {
NWF$("#" + DivisionDirector1).val(NWF$("#" + DivisionDirector1).find("option")o1].value);
NWF$("input#" + DivisionDirector1).val(NWF$("#" + DivisionDirector1).find("option")i1].value);
}
});
});
Do you have any suggestions about it?
Thank you,
Yong