Following is needed to get the Captcha working on say user registration page: 1. For display inside the form that submits the user registration information add the following: <form action="verifyCaptcha" > ... ## declare the plugin #set($captchaPlugin = $xwiki.jcaptcha) #if ($captchaPlugin) ##call the displayCaptcha pass the class name as "register_captcha" which should map to the css classname to render the image ##pass the name as edit ##and under http://<host>:<port>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object& ##under XWiki.XWikiPreferences[0]: XWiki.DefaultSkin select the values for Anonymous: and Registered: as image or text $captchaPlugin.displayCaptcha("edit","register_captcha") #end ... </form> 2. For Validation in the vm file that is called from "verifyCaptcha" action add the following: ## declare the plugin #set($captchaPlugin = $xwiki.jcaptcha) #if ($captchaPlugin) ##call the verifyCaptcha #if($captchaPlugin.verifyCaptcha("edit")) ##register the user #$xwiki.createUser(false) #else ##display some error #error("$msg.get('core.register.registerFailed', [$reg])") #end #end *note: by default in register use the RegisterAction is called which by default does not verify captcha. However same is done in other actions like PreviewAction,CommentAddAction and SaveAction. Again all this may not be easy for users of xwiki as to add Captcha to registration page progmaing knowledge is required. Thanks Sachin ----- http://www.assembla.com/wiki/show/sachin_mittal about me: -- View this message in context: http://www.nabble.com/CAPTCHA-for-comments-and-registration-tp13598294p15417... Sent from the XWiki- Users mailing list archive at Nabble.com.