Copied to clipboard

Flag this post as spam?

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


  • Luke 2 posts 72 karma points
    Jul 31, 2018 @ 04:28
    Luke
    0

    Issue with Captchav2

    Hello,

    I'm currently using Umbraco v7.6.4 and trying to setup the Google Captcha on our forms (6.03). I'm currently getting an issue when I add the Captcha I get this error "Error loading Partial View script (file: ~/Views/MacroPartials/InsertUmbracoFormWithTheme.cshtml)".

    I can then fix this issue by changing

    Html.RenderAction("RenderForm", "UmbracoForms", new {mode = "form", formId = form, recordId = recordGuid, theme = theme, includeScripts = includeScripts }); 
    

    to

    Html.RenderAction("Render", "UmbracoForms", new {mode = "form", formId = form, recordId = recordGuid, theme = theme, includeScripts = includeScripts }); 
    

    The issue I then get is the formatting goes all funny and loses all style. Can anyone suggest a fix? Formatting Issue

  • Luke 2 posts 72 karma points
    Jul 31, 2018 @ 06:18
    Luke
    0

    Just for an update I've installed Umbraco Forms on Perplex Steroids and this now works correctly without breaking the formatting but I get a new error on the Captcha itself that says: ERROR for site owner: Invalid domain for site key

    I've went to https://www.google.com/recaptcha/admin# and added the domain and in the web.config file I've added:

    <add key="RecaptchaPublicKey" value="Sitekey" />
    <add key="RecaptchaPrivateKey" value="SecretKey" />
    

    I've also added it in the umbracoforms.config and still got the same error. Any ideas?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies