cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Issue with repeating section and custom java script

I have this form below

On change for the Per Diem $70 the three drop-down menus change to claim. Issue is when you add a new row the custom Java script doesn't work.(Code follows)

function SetContolValue(control_id,
text_value){

NWF$('#'+control_id).val(text_value);

return  text_value;

}

NWF$(document).ready(function(){

  NWF$('#'+CHECKBOX_ID).change(function() {
SetContolValue(LIST_ID, 'Claim');
SetContolValue(LIST_ID2, 'Claim');
SetContolValue(LIST_ID3, 'Claim');

 });

});

Does anyone know how nintex changes the name controls when adding a new row? Would a for i loop work to increment this?

Thanks for anyone's time in advance!

Tags (1)
0 Kudos
Reply
2 Replies
Highlighted
Nintex Newbie

Re: Issue with repeating section and custom java script

I have looked at the HTML code and compared the repeating sections if this will help in finding a solution to the issue.

https://www.diffchecker.com/UhrEDd4T

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Issue with repeating section and custom java script

Hi Kevin Robbins

Have a look at this, it should point you in the right direction

0 Kudos
Reply