Kevin Landsbergen
Forum Replies Created
-
Forum: Plugins
In reply to: [G-Forms hCaptcha] Tag Releases in SVNHi,
Thank you for the suggestion.
I will implement it with the next update.Hi,
I’ve tested it myself too and can confirm that English is not working. Even though the language code is as the documentation of hCaptcha says it should be.
I will try to get in touch with the hCaptcha support about this.Forum: Plugins
In reply to: [G-Forms hCaptcha] hCaptcha always fail on multi-page form submitYou can send me a message by email on: dev[at]webandappeasy[dot]com
Forum: Plugins
In reply to: [G-Forms hCaptcha] hCaptcha always fail on multi-page form submitCan you provide me a link to your form or give me a more precise description on how and where you place the hCaptcha field in the multi-step form?
And what are your form settings, for example using Ajax of not?Thank you in advance!
Forum: Plugins
In reply to: [hCaptcha for WP] Increase of spam in last monthCan confirm that we get complaints from our customers too the last couple of days.
When it said in the mentioned article it was solved, it seemed that it was indeed. But now it seems to getting worse again.I don’t think it is the plug-in though, seems more to do with the challenges.
Forum: Reviews
In reply to: [G-Forms hCaptcha] Works perfectly!Thank you for your review and the kind words!
Forum: Plugins
In reply to: [G-Forms hCaptcha] Event or Trigger to know when hCaptcha has loaded?If you want to use it in JS that won’t work indeed as it is a public function within a class in PHP.
The ensure_hcaptcha_js prints out the HTML for the inline script:
public function ensure_hcaptcha_js(){ ?> <script type="text/javascript"> ( function( $ ) { $( document ).bind( 'gform_post_render', function() { $( '.h-captcha' ).each( function( index, elem ) { if( ! $( elem ).html().length ) { hcaptcha.render( elem ); } } ); } ); } )( jQuery ); </script> <?php }
So you could use the gform_post_render in JS.
Forum: Plugins
In reply to: [G-Forms hCaptcha] Event or Trigger to know when hCaptcha has loaded?Hi,
I think you can just use the gform_post_render hook.
I use that hook in the inline JavaScript to render the hCaptcha field.
It should be loaded in the bottom of your body.Otherwise you could use the ensure_hcaptcha_js function from the hCaptcha_Field class. This function prints the inline script.
Please let me know if this helps you or not.
Forum: Plugins
In reply to: [G-Forms hCaptcha] hCaptcha always fail on multi-page form submitThank you for providing me your field details.
I think I understand it now correctly.
You have only one hCaptcha field on a multi-page form, but instead of on the end of the form (last page), you have the field on the first page of the form.So the idea is also they only can go to the next page when solving the captcha and submitting can be done without?
A heads up on this thread. Implemented with the next update is a dropdown in the field options where you can select all available languages from hCaptcha.
This way you can set the language for each individual hCaptcha widget.
The update is almost ready to go live.A heads up on this thread. Visibility for the field label is implemented with the next update which is almost ready to go live.
A heads up on this thread. I’ve solved the problem and the fix is implemented in the next update that is almost ready to go live.
Forum: Plugins
In reply to: [G-Forms hCaptcha] hCaptcha always fail on multi-page form submitI haven’t seen it verify twice before. It should only verify once as it is a function that gets fired on each form submission.
Are there 2 forms visible on the page, like maybe one in the footer too?
If so, what are the settings that you use for the field?I have also almost an update ready to go live, so maybe that will fix it for you as I reworked some functionalities. But I still want to try to replicate your issue.
Please let me know.
By default, hCaptcha auto-detects the user’s locale.
You can change it bij adding the “hl” parameter to the hCaptcha API url or add it to the render method in JS as an option.For the next update I will provide a textfield where you can put in the language code provided by hCaptcha so you can force different languages for the hCaptcha widget.
Thank you for making the suggestions.
For the next update I will implement both suggested option and placeholder image.