umbraco / Umbraco.Forms.Issues

Public issue tracker for Umbraco Forms
29 stars 0 forks source link

Recaptcha2 doesn't have client side validation #43

Closed alanmac closed 3 years ago

alanmac commented 5 years ago

Bringing this over from the old issue tracker: https://issues.umbraco.org/issue/CON-1552

I have added the RecaptchaV2 field to a form. The problem is that the field seems to work with a full-page post/refresh.

I have unobtrusive validation set up. Standard input fields validate fine on the client side. RecaptchaV2 only validates by doing a full-page post which breaks the user experience.

Reproduction

Create an Umbraco Form that includes a ReCaptchaV2 field. Include it on a page. Ensure client side unobtrusive validation is configured,

Bug summary

Recaptcha requires a page post to validate.

Specifics

Running Forms 7.0.5 on Umbraco 7.12.13

Expected result

Expected it to work by doing an ajax request and not requiring the page to refresh entirely

Actual result

A full page post/refresh happens instead of an ajax request to validate the Recaptcha

nul800sebastiaan commented 5 years ago

Thanks for your feature request, it looks like it's not exactly easy to do this correctly on the client side.

In the mean time, there's an Invisible Recaptcha implementations available that might be interesting to you https://our.umbraco.com/packages/collaboration/invisible-recaptcha-field-for-umbraco-forms/

umbrabot commented 3 years ago

Hiya @alanmac,

Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more.

We will close this issue for now but we're happy to open it up again if you think it's still relevant (for example: it's a feature request that's not yet implemented, or it's a bug that's not yet been fixed).

To open it this issue up again, you can write @umbrabot still relevant in a new comment as the first line. It would be super helpful for us if on the next line you could let us know why you think it's still relevant.

For example:

@umbrabot still relevant This bug can still be reproduced in version 8.9.0

This will reopen the issue in the next few hours.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face: