cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

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

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

Labels: (1)
0 Kudos
Reply
5 Replies
Workflow Hero

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

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

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

0 Kudos
Accept as Solution Reply
Workflow Hero

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

 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

0 Kudos
Accept as Solution Reply
Workflow Hero

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

how do attach the handlers?

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

0 Kudos
Accept as Solution Reply
Workflow Hero

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

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

0 Kudos
Accept as Solution Reply
Workflow Hero

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

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#co... 

0 Kudos
Accept as Solution Reply