Using on-prem SP & Nintex 2016.
I need to copy the value in a managed, metadata field called Route. The javascript client ID is vRouteMMD. The target field is called RouteCopy with a javascript client ID of vRouteCopy. RouteCopy is not connected to any column. I have used the follow javascript (note the "alert" returned 'undefined' when un-commented). RouteCopy does not get populated. I have tried numerous variations on this code, but no joy. Its seems so simple . . .
NWF$(document).ready(function(){
var varRouteMMD = NWF$('#' + vRouteMMD).val();
//alert(varRouteMMD);
NWF$('#' + vRouteCopy).val(varRouteMMD);
});
Any suggestions would be greatly appreciated!
-Ken