I have installed CAPTCHA extra on MODx Revolution. According to its description
"The Captcha components can also be used by other components to create captcha-style verification for front-end forms."
When changing captcha.enabled
in System setting to Yes, it adds Captcha to manager login, but there's no documentation on how to use it on other components, neither I could find any example by googling.
How can I use the Captcha on a desired form? (and not on manager login if possible)
Thanks for your time.
You add it somewhere in your form where you want it to appear:
<img src="[[++assets_url]]components/captcha/captcha.php" alt="Captcha Image" />
And create a textfield for user to enter the result. Then wherever you're doing the validation for your form, compare the value of the textfield to $_SESSION['veriword']
.
You can also read this: http://bobsguides.com/captcha-plugin.html