Kentico 12 - Recaptcha and BizForms

Kay Peterson asked on October 22, 2019 01:23

I've been successful in setting up a custom form in my views utilizing some built-in Kentico HTML Helpers. Been using @Html.TextAreaFor(), @Html.CheckboxFor(), etc. All data is being passed through a model and getting saved to the database via BizForm. Just to note, I am not using PageBuilder for the form.

Now, maybe I'm trying to do something that's not even supported because I don't see it in the documentation. However, is it possible to call the Recaptcha field with a similar built-in method (i.e. @Html.RecaptchaFor())? If so, what is the method/namespace for it? If this is simply not possible, I'll implement it a different way. Just want to ensure there isn't a better way of doing this.

Appreciate any feedback and implementation suggestions, thank you in advance.

To help provide some context, below are the namespaces currently being referenced in web.config, which don't seem to inherently support displaying Recaptcha:

    <add namespace="Kentico.Content.Web.Mvc" />
    <add namespace="Kentico.Web.Mvc"/>
    <add namespace="System.Web.Mvc" />
    <add namespace="System.Web.Mvc.Ajax" />
    <add namespace="System.Web.Mvc.Html" />
    <add namespace="System.Web.Optimization"/>
    <add namespace="System.Web.Routing" />

   Please, sign in to be able to submit a new answer.