caldera-forms-anti-spam
caldera-forms-anti-spam copied to clipboard
reCaptcha not displayed, when toggled by condition
Hey!
I just tried your plugin and found, that the reCaptcha is not displayed, if it is not initially visible, but hidden by conditions.
bg
Thanks for this @mexn, looking into it :)
@mexn, @andrewlimaza I mentioned this issue in #17, too and I have made a pull request to support this feature. See #18.
for now you can pull the 'dev' branch and run further tests. Thanks @l-Marty-l
for now you can pull the 'dev' branch and run further tests. Thanks @l-Marty-l
You are welcome. :)
@andrewlimaza I made a new pull request #19, because it failed to work when I have two forms with conditional captchas on one page. After the fix, even this works flawlessly:
I also implemented it in a way, that it won't reload the script files from Google when re-enabling the captcha through condition.