From 7f82ac648d11075f23fc83721ef1090812a50381 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 24 Mar 2023 19:33:21 +0100 Subject: [PATCH] wip #5791 @0:20 --- src/public/bunchmultiple/bunchmultiple.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/bunchmultiple/bunchmultiple.js b/src/public/bunchmultiple/bunchmultiple.js index 45178a9..2c1b888 100644 --- a/src/public/bunchmultiple/bunchmultiple.js +++ b/src/public/bunchmultiple/bunchmultiple.js @@ -82,7 +82,7 @@ var item = $(this).closest('.item'); var form = item.find('.subform'); var txt = $(this).data('legend').replace(/\%([a-zA-Z0-9_]+)/gm, function (match, varname) { - return form.find('[name="' + varname + '"]').val(); + return form.find('[name$="__' + varname + '"]').val(); }); $(this).text(txt); }); -- 2.39.5