Skip to main content
Nintex Community Menu Bar

Repeater control not refelcting the same events for the newly created rows

  • May 4, 2017
  • 5 replies
  • 8 views

Forum|alt.badge.img+6

created a repeater control with three text boxes ,created a function for the on change event ,its firing for the first row but not for the remaining

5 replies

Forum|alt.badge.img+14
  • Scholar
  • May 4, 2017

that's know annoyance ("feature") of repeating section.

you have to assign event handlers after every new row is created.


Forum|alt.badge.img+6
  • Author
  • May 4, 2017

 NWF.FormFiller.Events.RegisterRepeaterRowAdded(function(){ArtikleNummer()}); i have added this function in the document .ready the function is trigerring but the controls are not able to bind the events


Forum|alt.badge.img+14
  • Scholar
  • May 4, 2017

how do attach the handlers?

do you correctly reference control in current/new repeater row?


Forum|alt.badge.img+6
  • Author
  • May 4, 2017

NWF.FormFiller.Events.RegisterRepeaterRowAdded (function () {
var repeaterRow = NWF$(arguments[0][0]);
//alert(repeaterRow);
repeaterRow.hasClass('Vertriebs_Artikel_Nummer_1')
{
NWF$('.Vertriebs_Artikel_Nummer_1').on("change",function(){ArtikleNummer()} );
}
});
i am using this code


Forum|alt.badge.img+14
  • Scholar
  • May 4, 2017

is it really your whole code?

it's logically not correct at all....

have a look eg. here how to correctly attach a handler to a control within repeating section https://community.nintex.com/message/52309-re-autocomplete-in-a-repeating-section?commentID=52309#comment-52309