XperienceCommunity.HCaptcha 1.0.1

dotnet add package XperienceCommunity.HCaptcha --version 1.0.1
NuGet\Install-Package XperienceCommunity.HCaptcha -Version 1.0.1
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="XperienceCommunity.HCaptcha" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XperienceCommunity.HCaptcha --version 1.0.1
#r "nuget: XperienceCommunity.HCaptcha, 1.0.1"
#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 XperienceCommunity.HCaptcha as a Cake Addin
#addin nuget:?package=XperienceCommunity.HCaptcha&version=1.0.1

// Install XperienceCommunity.HCaptcha as a Cake Tool
#tool nuget:?package=XperienceCommunity.HCaptcha&version=1.0.1

Xperience hCaptcha

GitHub Actions CI: Build

Publish Packages to NuGet

Packages

XperienceCommunity.HCaptcha

NuGet Package

Kentico Xperience 13.0.66 (or higher) ASP.NET Core 6.0+ Form Component that adds hCaptcha captcha validation to Form Builder forms.

XperienceCommunity.HCaptcha.CMS

NuGet Package

Kentico Xperience 13.0.66 (or higher) CMS installation module that adds hCaptcha settings keys to the Settings application.

How to Use?

  1. Install the XperienceCommunity.HCaptcha NuGet package in your ASP.NET Core 6.0+ application:

    dotnet add package XperienceCommunity.HCaptcha
    
  2. Install the XperienceCommunity.HCaptcha.CMS NuGet package in your CMS application:

    dotnet add package XperienceCommunity.HCaptcha.CMS
    

Usage

  1. Add a registration for the HCaptchaInstallerModule in your CMSApp project:

    using XperienceCommunity.HCaptcha.CMS
    
    [assembly: RegisterModule(typeof(HCaptchaInstallerModule))]
    
    namespace CMSApp.Configuration
    {
       public class DependencyRegistrations
       {
    
       }
    }
    

    On application startup, custom CMS settings will be added to the Settings application

  2. Set the settings keys in the CMS Settings application with the values provided in your hCaptcha Dashboard.

    <img src="./images/cms-settings-application.jpg" width="600px" alt="CMS Settings application hCaptcha fields" />

  3. Add the hCaptcha Form Component to a Form Builder form.

    <img src="./images/form-builder-components-dialog.jpg" width="600px" alt="Form Builder component dialog" />

  4. Configure any properties on the captcha component

    <img src="./images/hcaptcha-form-component-properties.jpg" width="600px" alt="hCaptcha Form Component properties" />

  5. Load the form on your live site to see the captcha! 💪

Contributions

If you discover a problem, please open an issue.

If you would like contribute to the code or documentation, please open a pull request.

References

Kentico Xperience

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows 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.

Version Downloads Last updated
1.0.1 1,968 10/26/2022
1.0.1-prerelease-2-1 1,024 9/28/2022
1.0.0-prerelease-1-1 131 9/10/2022