From: Vincent Vanwaelscappel Date: Fri, 24 Mar 2023 18:33:21 +0000 (+0100) Subject: wip #5791 @0:20 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7f82ac648d11075f23fc83721ef1090812a50381;p=cubist_cms-back.git wip #5791 @0:20 --- 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); });