cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

set the text box value to drop-down choice field in edit mode of the form

I am trying to set the value of single line text box which is in repeating section to the the drop-down field (which is in another repeater control) on edit mode of the Nintex form with the below code but not working. Can anyone help me pls?

var isOnLoad = true;

if(isOnLoad == true)
{
var currentURL = document.location.href;
var EditMode = currentURL.indexOf('mode=1');
if(EditMode>0)
{
alert('Edit Mode');
NWF$(".VendActCostCenSAP").each(function() {
var vendCCentre=NWF$(this).val();
NWF$(this).closest(".rptmonth.nf-filler-control").parent().find(".VendarSAPActiveCostCenters").val(vendCCentre);
});
}
isOnLoad = false;
}

0 Kudos
Reply