Skip to main content
Nintex Community Menu Bar

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

  • May 4, 2017 11:12 AM UTC
  • 5 replies
  • 14 views
  • Translate All

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 11:35 AM UTC

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

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

Translate

Forum|alt.badge.img+6
  • Author
  • May 4, 2017 11:41 AM UTC

 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

Translate

Forum|alt.badge.img+14
  • Scholar
  • May 4, 2017 12:41 PM UTC

how do attach the handlers?

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

Translate

Forum|alt.badge.img+6
  • Author
  • May 4, 2017 1:53 PM UTC

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

Translate

Forum|alt.badge.img+14
  • Scholar
  • May 4, 2017 5:06 PM UTC

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 

Translate