![]() |
VOOZH | about |
dotnet add package Our.Umbraco.Forms.uCaptcha --version 5.0.1
NuGet\Install-Package Our.Umbraco.Forms.uCaptcha -Version 5.0.1
<PackageReference Include="Our.Umbraco.Forms.uCaptcha" Version="5.0.1" />
<PackageVersion Include="Our.Umbraco.Forms.uCaptcha" Version="5.0.1" />Directory.Packages.props
<PackageReference Include="Our.Umbraco.Forms.uCaptcha" />Project file
paket add Our.Umbraco.Forms.uCaptcha --version 5.0.1
#r "nuget: Our.Umbraco.Forms.uCaptcha, 5.0.1"
#:package Our.Umbraco.Forms.uCaptcha@5.0.1
#addin nuget:?package=Our.Umbraco.Forms.uCaptcha&version=5.0.1Install as a Cake Addin
#tool nuget:?package=Our.Umbraco.Forms.uCaptcha&version=5.0.1Install as a Cake Tool
A simple to use and integrate captcha plugin for Umbraco Forms which supports hCaptcha, reCaptcha and Cloudflare Turnstile.
This package is supported on Umbraco 10+ and Umbraco Forms 10+.
This package has been tested on Umbraco 11 and Umbraco Forms 11, however only LTS versions of Umbraco and Umbraco Forms are officially supported.
Cloudflare Turnstile has been reworked to use a signle javascript file removing umbracoforms.invisible.turnstile.js
Cloudflare Turnstile has been reworked to use the cf- prefix instead of g-
All javascript has been rewritten to remove jQuery dependency
UmbracoForms.uCaptcha is available from NuGet or as a manual download directly from GitHub.
dotnet add package Our.Umbraco.Forms.uCaptcha
This package adds hCaptcha, reCaptcha or Turnstile to Umbraco Forms, configurable in the appsettings.json.
It has the ability to choose from the traditional checkbox or invisible options.
Before you begin you will need to get your API keys from your preferred provider, you can get these from the links below:
You will need to add the following settings to your appsettings.json
"uCaptcha": {
"SiteKey": "YOUR SITE KEY",
"SecretKey": "YOUR SECRET KEY",
"Provider": "YOUR CHOSEN PROVIDER"
}
To select the provider you will need to change the following setting to your appsettings.json
"Provider": "YOUR CHOSEN PROVIDER"
The choices are either hCaptcha or reCaptcha or Turnstile
You need to ensure you have included @Html.RenderUmbracoFormDependencies() in your site:
https://docs.umbraco.com/umbraco-forms/developer/prepping-frontend
Alternatively you can load the packages script dependencies using the method below in your themes Render.cshtml around line 60/61
@if (Model.CurrentPage.JavascriptCommands.Any())
{
<script>
document.addEventListener("DOMContentLoaded", function() {
@foreach (var javascriptCommand in Model.CurrentPage.JavascriptCommands)
{
@Html.Raw(javascriptCommand)
}
});
</script>
}
If you are using the default theme you will need to create a custom theme using the zip found in the documentation here:
https://docs.umbraco.com/umbraco-forms/13.latest/developer/themes
https://docs.umbraco.com/umbraco-forms/10.latest/developer/themes
You can change the default theme used by Umbraco in your appsettings.json file
"Forms": {
"FormDesign": {
"DefaultTheme": "default",
}
}
Reference:
https://docs.umbraco.com/umbraco-forms/13.latest/developer/configuration
https://docs.umbraco.com/umbraco-forms/10.latest/developer/configuration
The invisible option in the Settings Size dropdown does not do anything when using Cloudflare Turnstile, the invisible mode is controlled by the SiteKey.
To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the package.
Copyright © 2023 UmbHost Limited.
Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 5.0.1 | 6,115 | 3/3/2025 | |
| 5.0.0 | 5,832 | 1/2/2024 | |
| 5.0.0-rc0001 | 310 | 12/19/2023 | |
| 4.0.4 | 1,133 | 8/7/2023 | |
| 4.0.3 | 1,198 | 2/15/2023 | |
| 4.0.0 | 582 | 2/15/2023 | 4.0.0 is deprecated because it has critical bugs. |
| 4.0.0-preview | 505 | 2/1/2023 | 4.0.0-preview is deprecated because it has critical bugs. |
| 3.1.2 | 1,094 | 11/24/2022 | |
| 3.1.1 | 576 | 11/14/2022 | |
| 3.1.0 | 727 | 10/20/2022 | |
| 3.0.1 | 649 | 10/17/2022 | |
| 3.0.0 | 794 | 6/16/2022 | |
| 2.0.8 | 1,436 | 2/1/2022 | |
| 2.0.5 | 896 | 2/1/2022 | |
| 2.0.4 | 1,617 | 10/24/2021 | |
| 2.0.3 | 1,295 | 10/14/2021 |
Fixed missing javascript reference