SitecoreModules.Foundation.Forms 9.1.1.2208042

There is a newer version of this package available.
See the version list below for details.
dotnet add package SitecoreModules.Foundation.Forms --version 9.1.1.2208042                
NuGet\Install-Package SitecoreModules.Foundation.Forms -Version 9.1.1.2208042                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SitecoreModules.Foundation.Forms" Version="9.1.1.2208042" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SitecoreModules.Foundation.Forms --version 9.1.1.2208042                
#r "nuget: SitecoreModules.Foundation.Forms, 9.1.1.2208042"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SitecoreModules.Foundation.Forms as a Cake Addin
#addin nuget:?package=SitecoreModules.Foundation.Forms&version=9.1.1.2208042

// Install SitecoreModules.Foundation.Forms as a Cake Tool
#tool nuget:?package=SitecoreModules.Foundation.Forms&version=9.1.1.2208042                

Sitecore Forms ReCaptcha

This repository contains the code base for a Sitecore Google ReCaptcha Enteprise Version using Sitecore Forms

You will find more info in the following link: Blog Entry

Nuget Installation

You can easily install Sitecore Forms ReCaptcha by adding a Nuget Package in your Website Project.

PM> Install-Package SitecoreModules.Foundation.Forms

Configuration

Generate Api Keys and Duplicate Config File

To configure Google's reCaptcha integration, it is required to duplicate and remove .example extension to the following file \Website\App_Config\Include\Foundation\SitecoreModules.Foundation.Forms.ReCaptchaEnterprise.nonprod.config.example

If you don't know how to generate keys refer to the following link: reCaptcha Keys

In the next table specify the values that you need to configure. | Setting | Value | |---|---| | Foundation.Forms.ReCaptchaEnterprise.Api.Url| https://www.google.com/recaptcha/enterprise.js?render={0}| | Foundation.Forms.ReCaptchaEnterprise.Api.SiteVerify|https://recaptchaenterprise.googleapis.com/v1/projects/[PROJECT-ID]/assessments?key={0}| |Foundation.Forms.ReCaptchaEnterprise.PublicKeyV3|[Public – V3]| |Foundation.Forms.ReCaptchaEnterprise.PublicKeyV2|[Public – V2]| |Foundation.Forms.ReCaptchaEnterprise.ApiKey|[Api Key] – This is used for Server Side Validation| |Foundation.Forms.ReCaptchaEnterprise.Score|Default to 0.5.|

Add JS to load into Sitecore Forms

You need to ensure that forms.recaptcha.js is added on standard values to load the js functionality that is required to work.

Open Form's standard values /sitecore/templates/System/Forms/Form/__Standard Values and add forms.recaptcha.js to the end of Scripts field.

Usage:

  1. Create a Sitecore Form
  2. Drag and Drop "ReCaptcha Enterpise" form control..
  3. Configure Invisible / Checkbox
  4. Save your Form
Product Compatible and additional computed target framework versions.
.NET Framework net471 is compatible.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Summary of changes made in this release of the package.