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(); }}; }); });
@furstlars unfortunately javascript is not supported so unless someone on here has either done it before or is knowledgeable you may not see a response. Have you tried searching for examples of javascript implemented with Nintex. That may help you find what you're looking for.