mautic-recaptcha icon indicating copy to clipboard operation
mautic-recaptcha copied to clipboard

Websites with more than one form.

Open digitalsmithy opened this issue 6 years ago • 2 comments

For various reasons I need to manually copy form code onto my sites. Previously re-captcha added 'callback' script into the body of the form. Now it adds it to the header script - which is a disaster because the script targets ONE form. It means you can have only one form across an entire website. Of course, I have many - quote, contact, subscribe etc. so have to strip out the script and manually add it back in per form. Could the plugin please revert to adding code per-form - or some other method that doesn't limit me to one form per site. Thanks.

digitalsmithy avatar Feb 20 '19 12:02 digitalsmithy

@digitalsmithy Thanks for the comment on this use case. I'll look into that.

KonstantinCodes avatar Feb 20 '19 13:02 KonstantinCodes

Hi @KonstantinCodes - thanks for the work on making each captcha unique. There's a very small issue still. When Mautic renders the manual form, the captcha script is rendered in the 'header code' script section. So to use the forms you have to copy the form HTML code, then copy just the captcha script from the 'header code' and manually insert that into the form HTML. Is it possible to have the captcha script (with the unique ID) render in the form? Really appreciate the work you do on this plugin. Mike

digitalsmithy avatar Aug 12 '19 08:08 digitalsmithy