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: http://world.episerver.com/Download/Code-Samples/ and you'll have enough info on how to do it.
I'm very interested in this one as well. Unfortunately the given link is not available.
Anyone knows the correct link?
Here you go: http://world.episerver.com/Download/Categories/Download-Type/Code-Samples1/
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?
You don't need to put the captcha control inside the XForm. Just put it outside and check it from the XForm events.
Guys,
I am trying to follow the codesample link for adding captcha however the link seems to be dead namely http://world.episerver.com/Download/Categories/Download-Type/Code-Samples1/ by the way i need to do this for v6.
Regards
Ismail
Hi
Did any one add CAPTCHA capabilities to the XFORM ?
Is this possible at all ?
Thanks
Arik