Skip to main content

Hello everyone. I have a list look up where users can pick items. Each time a user clicks there, the calculated value control will get the parseLookup of the item. Then once the user clicks the button, the calculatedValue (which is hidden) will transfer whatever it is to a single line text box inside a repeated section.

Nintex Forms for Office 365

function getItemSelected(){

NWF$("#"+hostnameRepeated).val(NWF$("#"+calculatedSelection).val());
alert("Done");
}

I have this custom javascript function and it works on the first row. However, once I added rows, it is still updating the first row.

javascript variable is only assigned to a control in first repeating section's row. you should rather use CSS class to address controls in all the rows.

as well you have to address exact row in which you want to update a control


Yes, I managed to find the solution somewhere in this group with the css control as well. happy.png Last question though since I cannot find any on the documentation. Why can't the button be added to a repeating section?


simply because it's not supported https://help.nintex.com/en-US/o365/#o365/O365Forms/FormControls/RepeatingSectionControl.htm?Highlight=repeating 


Reply