Using Recaptcha with EPiServer XForms

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2010-12-22T08:53:05Z Indexed on 2010/12/22 8:53 UTC
Read the original article Hit count: 361

Filed under:
|
|

Hi,

Does any one have experiense of using Recaptcha with XForms in EPiServer?

I don't know where to put the Recaptcha control and how to make it work. The sample code for ASP.NET is the code below. Where should i put it. My guess is in the FormControl_BeforeSubmitPostedData?

<%@ Page Language="VB" %> <%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %>
Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs)
If Page.IsValid Then
lblResult.Text = "You Got It!"
lblResult.ForeColor = Drawing.Color.Green
Else
lblResult.Text = "Incorrect"
lblResult.ForeColor = Drawing.Color.Red
End If
End Sub



© Stack Overflow or respective owner

Related posts about recaptcha

Related posts about episerver