Skip to main content
Nintex Community Menu Bar

Multi line entry to SharePoint list from lookup Nintex control

  • August 7, 2019
  • 2 replies
  • 15 views

Forum|alt.badge.img+3

I need to enter item from three instance of control to one sharepoint column. The control is a look up. When i tried to submit, nothing happned in sharepoint , it says null . I tried using JS, but it wouldn't work.Here is my sample JS code that i used. 

NWF.FormFiller.Events.RegisterAfterReady(function ()
{
NWF$('#' + ctrl_Egroup_One).on('change.onChangeEGroupOne', onChangeEGroupOne); NWF$('#' + ctrl_Egroup_Two).on('change.onChangeEGroupTwo', onChangeEGroupTwo); NWF$('#' + ctrl_Egroup_Three).on('change.onChangeEGroupThree', onChangeEGroupThree) NWF$('#' + Suku_ID).on('change.onChangeFirstSelect', onChangeFirstSelect); }); function onChangeEGroupOne(event) { var arr=[]; NWF$(event.target).children('option').each(function(index, option){ arr.push('#'+option.value); }); console.log(arr) NWF$('#' + ctrl_Egroup_Two).val(arr); NWF$('#' + ctrl_Egroup_Three).val(arr); }

And Also here is one of three controls that i have used, 

2 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • August 9, 2019

Hi,
I would leave the lookups unbound and then use a calculated control that combines the three controls and is connected to a SharePoint column.
The function would be:

ctrl_Egroup_One + ctrl_Egroup_Two + ctrl_Egroup_Three

Forum|alt.badge.img+3
  • Author
  • August 15, 2019
its lookup column