AnsweredAssumed Answered

RepeaterRowDeleting event not triggered if last row

Question asked by themos on Nov 23, 2016
Latest reply on Nov 30, 2016 by frank.field@nintex.com

Hey guys,

 

I'm trying to clear individual rows in a Repeating section, but the event doesn't seem to trigger if there is only one row...

 

E.g.

1) first row            X

2) second row      X

It works OK if I try to delete either of these two rows.

 

But then if I try it again on this:

1) first and only row      X

the event is NOT triggered!

 

Any idea why? is it a bug or a feature??

 

Here's the function I'm using to test this hypothesis:

 

NWF.FormFiller.Events.RegisterRepeaterRowDeleting(function() {
      console.log('here');
})

Outcomes