AnsweredAssumed Answered

Issue with repeating section and custom java script

Question asked by krobbins on Jun 20, 2017
Latest reply on Jun 23, 2017 by paul.crawford

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!

Outcomes