Can anyone assist with the following syntax so that after a repeating row is deleted, the dropdown change function continues to work? Highlighted for emphasis:
NWF.FormFiller.Events.RegisterAfterReady(function () {NWF$(".nf-repeater-addrow").hide();var BannerQuantityDDL = NWF$('#' + BannerQuantity);BannerQuantityDDL.change(function () {var BannerQuantityDDLVal = NWF$('#' + BannerQuantity).val(); if (BannerQuantityDDLVal == "1") { NWF$(".nf-repeater-addrow").show(); }else { if (BannerQuantityDDLVal == "" || BannerQuantityDDLVal == "2") { NWF$(".nf-repeater-addrow").hide();}};});});NWF.FormFiller.Events.RegisterRepeaterRowDeleted (function () {NWF$(".BannerRequirementsRepeater .nf-repeater-row:not('.nf-repeater-row-hidden')").each(function() {var BannerQuantityCurrentVal = NWF$(this).find(".BannerQuantityClass select option:selected").val(); if (BannerQuantityCurrentVal == "1") { NWF$(".nf-repeater-addrow").show();}else { if (BannerQuantityCurrentVal == "" || BannerQuantityCurrentVal == "2") { NWF$(".nf-repeater-addrow").hide();}};});});