Try our conversational search powered by Generative AI!

Xforms and Captcha




Did any one add CAPTCHA capabilities to the XFORM ?

Is this possible at all ?



Aug 04, 2008 20:12

It is possible to add events before the xform is rendered and when the xform is submitted, so yes, it is possible to add your own CAPTCHA.

Check the code samples about xforms here: and you'll have enough info on how to do it.

Aug 05, 2008 14:17

I'm very interested in this one as well. Unfortunately the given link is not available.

Anyone knows the correct link?


Jan 22, 2010 16:09

Here you go:

Jan 22, 2010 16:32

I'm trying to do the same thing.

I've added a captcha web control, however this is below the XFormControl in the markup.

I've added a textbox for the user to enter the captcha code they have been shown, but the code behind for the XFormControl isn't giving me access to the textbox ID.

Is there a way to inject the Captcha web control and textbox for the user to enter the captcha code inside the XForm, e.g. add these dynamically to the XForm in the code behind?

Edited, Sep 02, 2010 20:25

You don't need to put the captcha control inside the XForm. Just put it outside and check it from the XForm events.

Sep 08, 2010 22:55


I am trying to follow the codesample link for adding captcha however the link seems to be dead namely by the way i need to do this for v6.




Jun 20, 2013 11:12
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.