Closed loilo closed 5 years ago
Thanks 👍
My pleasure. After all, scratching our own itch here. 😉
This code is updated as I see in mautic 3.1 but It is still not working with 2 capcthas on the same page. Even if I write unique name tags to the 2 forms :( What else do I need to do? Write unique ID-s or something also? i an not pro programmer :( I only could solve it with cloning the whole form in mautic.
This PR decorates the name of each verification function with an MD5 hash of the form name to make multiple reCAPTCHA instances on the same page possible. This fixes issue #10.
The hash is used instead of the form name itself to make sure valid JavaScript identifier characters are appended.