Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Dear all,
my website (www.familleloup.com) integrates Simplenews and Captche module.
The newsletter subscription form does not show the captcha, whereas it does work on contact form.
Using the "add Captcha tool", I am led to a page where both system name and form ID are filled.
because form ID is very long (67 characters), and system name deviated from form ID,, I have to modify system name.
The captcha pont is visible on the list, but browsing to the newsletter subscription does not show the captcha.
thanks for any comment. Cheers
Comments
Comment #2
sumithb CreditAttribution: sumithb commentedSame issue
Comment #3
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commented@fred@familleloup.com @sumithb, You just have to follow the code that I added blow, That works for me.
>> Get the subscription form_id & on form alter add the mentioned code, to get the captcha on a Subscription form
Hope this helps you. Thanks!.
Comment #4
couturier CreditAttribution: couturier as a volunteer commentedAny update on whether this solved the issue?
Comment #5
labiloute@neuf.fr CreditAttribution: labiloute@neuf.fr commentedUp !
I encounter the same bug but I am unable to understand the workaround provided by @saurabh.dhariwal ...
Cheers
Comment #6
labiloute@neuf.fr CreditAttribution: labiloute@neuf.fr commentedOk !
I finaly got it :
Open "modules/contrib/simplenews/simplenews.module" file from your Drupal 8 installation path (with module simplenews installed)
Add the following code at line :
// HACK
// \ HACK
Just after :
Hope this helps.
Cheers :)
Comment #7
igormagic CreditAttribution: igormagic commentedComment #8
Anybody