Does anyone know how I can prevent spam on a custom-built form?
I am on Umbraco 11, and everything I can find is for much older versions or Umbraco Forms, but maybe I am just being overly cautious since I've only been working with Umbraco for a few weeks.
I would greatly appreciate it if anyone could point me in the right direction.
Do you need to see my code?
Firstly, welcome to the world of Umbraco, having only been working with it for a few weeks! You've found the correct place to ask questions!
When you say custom built forms, do you mean you have a form or @using(Html.BeginForm in a cshtml page? If so, you could use google recaptcha, some docs are here https://developers.google.com/recaptcha/intro
If youre using Umbraco Forms, then you can also use google rechapcha, there are a few packages that may be supported, check out the 'packages' page at the top of this page, and head over to the docs. https://docs.umbraco.com/umbraco-forms/editor/creating-a-form/fieldtypes/recaptcha3 should get you started, just make sure you check what version of Umbraco you have installed and what youre doing matches this version.
Custom Form Spam Prevention
Does anyone know how I can prevent spam on a custom-built form?
I am on Umbraco 11, and everything I can find is for much older versions or Umbraco Forms, but maybe I am just being overly cautious since I've only been working with Umbraco for a few weeks.
I would greatly appreciate it if anyone could point me in the right direction. Do you need to see my code?
Hi Winnie,
Firstly, welcome to the world of Umbraco, having only been working with it for a few weeks! You've found the correct place to ask questions!
When you say custom built forms, do you mean you have a form or
@using(Html.BeginForm
in a cshtml page? If so, you could use google recaptcha, some docs are here https://developers.google.com/recaptcha/introIf youre using Umbraco Forms, then you can also use google rechapcha, there are a few packages that may be supported, check out the 'packages' page at the top of this page, and head over to the docs. https://docs.umbraco.com/umbraco-forms/editor/creating-a-form/fieldtypes/recaptcha3 should get you started, just make sure you check what version of Umbraco you have installed and what youre doing matches this version.
Lewis
is working on a reply...