Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bengt Thomassen 5 posts 86 karma points
    Dec 03, 2018 @ 13:18
    Bengt Thomassen
    0

    Invisible reCAPTCHA is not invisible

    Hi, i just implemented this plugin, and got a Invisible reCAPTCHA API from my customer, but the captcha is not invisible in my form. When i enter the form-page the reCAPTCHA pops up, and there is also a badge down in the right corner of the browser. Do i need to implement some css to make it invisible?

    FYI: I have implemented the InvisibleRecaptchaPublicKey and InvisibleRecaptchaPrivateKey in UmbracoForms.config :)

    I asked my customer to double check the API, and they was sure it was the right key for invisible reCAPTCHA.

    Invisible Recaptcha is visible

    Recaptcha badge in the right corner

    Details:
    Umbraco version: 7.12.2
    Umbraco forms: 7.0.4
    Plugin version: 1.0.0

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Dec 03, 2018 @ 14:16
    Alex Skrypnyk
    100

    Hi Bengt Thomassen

    Invisible means no checkbox to click. If you see a popup each submits - then you very look like spammer no this site :)

    Here you can find a way to hide a badge from Google - https://stackoverflow.com/questions/44543157/how-to-hide-the-google-invisible-recaptcha-badge

    Thanks,

    Alex

  • Bengt Thomassen 5 posts 86 karma points
    Dec 03, 2018 @ 14:22
    Bengt Thomassen
    0

    Hi Alex,

    Ahh, i totally misunderstood the "invisible" concept. i tought it was supposed to be "smart" and not popup at any time. I am probably spamming to much, so that's why it keeps popping up every time ;)

    Thank you for your fast reply! h5yr! :)

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Dec 03, 2018 @ 14:32
    Alex Skrypnyk
    0

    For most users it's invisible, a popup shows only if your behavior or IP looks not perfect :) so the system is pretty smart and really cool.

    Totally agree with you that badge looks awful thing and it's better to hide it.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Dec 03, 2018 @ 14:41
    Alex Skrypnyk
    0

    But according to the reCAPTCHA Terms of service (that you must have agreed), you must inform visitors about the reCAPTCHA implementation on your site :

    enter image description here

    And from the Google Terms of Service

    These terms do not grant you the right to use any branding or logos used in our Services. Don’t remove, obscure, or alter any legal notices displayed in or along with our Services.

  • Bengt Thomassen 5 posts 86 karma points
    Dec 03, 2018 @ 14:56
    Bengt Thomassen
    1

    Thank you for the information. I should probably follow the rules then :)
    My solution was to inline the badge, so it doesnt render down in the corner of the browser.
    In: \Views\Partials\Forms\Themes\default\Fieldtypes\FieldType.InvisibleReCAPTCHA.cshtml
    I added data-badge="inline" to the "g-recaptcha"-div.

    It looks better now:
    enter image description here

    Thank you again, Alex!

  • Namrata 8 posts 78 karma points
    17 days ago
    Namrata
    0

    Hello Bengt Thomassen,

    I am also trying to implement an invisible recaptcha custom field. However, there are some issues that I am facing while submitting the form. Was wondering if you remember implementing the customfield type and mind sharing it ? I am quite interested to know how did you managed to generate the form token and continue the rest of the workflow after form submission

    Some context about the issue I have added an event listener on form submission which prevents the default form behaviour. However, in the data-callback when I submit the form (after a successful generation of recaptcha token) it just doesn't move forward with the default workflow.

    I have tried even implementing a timer function to refresh the recaptcha token every minute. However, the image dialog always shows up after every minute which then doesn't make any sense to have an invisible recaptcha.

    Thanks,

    Namrata Sanger

  • Bengt Thomassen 5 posts 86 karma points
    15 days ago
    Bengt Thomassen
    0

    Hi Namrata, I have looked for this code in some old repositories, but i cannot find it- sorry :( This was probably for Umbraco 7 way back in the days when the umbraco forms did not have an build in recaptcha v3.

  • Namrata 8 posts 78 karma points
    14 days ago
    Namrata
    0

    No worries Bengt Thomassen,

    It got it working. Thanks for the response tough :)

Please Sign in or register to post replies

Write your reply to:

Draft