andrewlimaza / caldera-forms-anti-spam

Caldera Forms Anti Spam WordPress plugin. This adds Google's reCAPTCHA field to your Caldera Form.
https://wordpress.org/plugins/cf-anti-spam/
25 stars 16 forks source link

reCaptcha not displayed, when toggled by condition #1

Open mexn opened 6 years ago

mexn commented 6 years ago

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

andrewlimaza commented 6 years ago

Thanks for this @mexn, looking into it :)

martin-braun commented 4 years ago

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

andrewlimaza commented 4 years ago

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

martin-braun commented 4 years ago

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

You are welcome. :)

martin-braun commented 4 years ago

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