caldera-forms-anti-spam icon indicating copy to clipboard operation
caldera-forms-anti-spam copied to clipboard

reCaptcha not displayed, when toggled by condition

Open mexn opened this issue 7 years ago • 5 comments

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

mexn avatar Oct 17 '17 14:10 mexn

Thanks for this @mexn, looking into it :)

andrewlimaza avatar Oct 30 '17 08:10 andrewlimaza

@mexn, @andrewlimaza I mentioned this issue in #17, too and I have made a pull request to support this feature. See #18.

martin-braun avatar Jan 28 '20 11:01 martin-braun

for now you can pull the 'dev' branch and run further tests. Thanks @l-Marty-l

andrewlimaza avatar Jan 28 '20 11:01 andrewlimaza

for now you can pull the 'dev' branch and run further tests. Thanks @l-Marty-l

You are welcome. :)

martin-braun avatar Jan 28 '20 12:01 martin-braun

@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:

2020-01-30 17 27 17

I also implemented it in a way, that it won't reload the script files from Google when re-enabling the captcha through condition.

martin-braun avatar Jan 30 '20 16:01 martin-braun