Copied to clipboard

Flag this post as spam?

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


  • David 20 posts 131 karma points
    Sep 19, 2024 @ 15:37
    David
    0

    App_Data missing UmbracoForms folder which is needed for v3 reCAPTCHA

    For some reason, my App_Settings is missing the reCAPTCHA v3.init.min.js file.

    Html.AddFormThemeScriptFile("~/App_Plugins/UmbracoForms/Assets/recaptcha.v3.init.min.js");

    This line of code is inside of the Themes you can download FieldType.Recaptcha3.cshtml. I'm using Cloud v.13.

    Due to this, v3 reCAPTCHA is not playing ball. Do you know how I retrieve those?

    This causes an issue when I try and submit the form:

    The 'g-recaptcha-response' hidden field for reCAPTCHA v3 is missing/empty and thus unable to be verified

  • Markus Rytterkull 31 posts 182 karma points
    Sep 20, 2024 @ 07:47
    Markus Rytterkull
    0

    Hmm, weird. Are the other assets there (like datepicker.init.js, umbracoforms.js)? I wonder if your umbraco-forms installation is correct. Have you tried re-installing?

  • David 20 posts 131 karma points
    Sep 20, 2024 @ 09:47
    David
    0

    Yes

    dotnet add package Umbraco.Forms --version 13.2.1

    Nothing gets added to my App_Plugins folder. I'll have to have a play around.

  • Tarik 196 posts 840 karma points c-trib
    Sep 30, 2024 @ 22:45
    Tarik
    0

    I suggest that you run the following cmds:

    1. dotnet restore
    2. dotnet clean
    3. dotnet add package Umbraco.Forms --version 13.2.1

    Best intents

    Tarik Rital

  • David 20 posts 131 karma points
    Oct 03, 2024 @ 08:36
    David
    0

    Thanks, this has not succeded however. App_Plugins only gets built after dotnet build.

Please Sign in or register to post replies

Write your reply to:

Draft