On my form (Nintex 2013)
I have a list lookup control connected to a separate list within my site.
This list has 2 columns: title and description. The list lookup shows the title values.
I have a multi line text box.
If a value is selected from the list lookup control how can the multi line text box be populated with the description field data and still be editable?
If list lookup control value is not selected the multi line text box will still be used, just not prepopulated.
I'm wanting to do this without a workflow as the end users will select a value from the lookup list and then want to start writing in the multi line text box.
Solved! Go to Solution.
eg. following easy way
it will append description related to selected lookup entry to textbox content
var lkpSelection = NWF$(this).val();
var lkpID = lkpSelection.match(new RegExp(SPClientTemplates.Utility.UserLookupDelimitString)) ? NWF.RuntimeFunctions.parseLookup(lkpSelection,false) : lkpSelection;
var currContent = NWF$('#'+varMLTB).val();
NWF$('#'+varMLTB).val(currContent + (currContent.length ? '\r\n' : '') + data);
so you probably might want to start with something what is provided OOTB without scripting...
anyway, so that you could learn anything new today (), proceed with the following