magento2-friendly-captcha icon indicating copy to clipboard operation
magento2-friendly-captcha copied to clipboard

Multiple newsletter captchas on the same page do not work

Open iranimij opened this issue 1 year ago • 5 comments

I have two newsletter forms on my home page, but it seems that the module does not support two or multiple captcha on the same page. since we have this below code for newsletters!

 document.querySelector('.newsletter .subscribe').append(document.getElementById('<?= /* @noEscape */ $block->getWidgetId() ?>'));

You can see we just send one widget ID to the template and because of that, we can not show multiple captchas.

iranimij avatar Oct 19 '23 11:10 iranimij