source: products/quintagroup.formlib.captcha/trunk/README.txt @ 2807

Last change on this file since 2807 was 2223, checked in by olha, 12 years ago

README file updated with usage exmaple.

File size: 1.0 KB
Line 
1Introduction
2============
3
4quintagroup.formlib.captcha is a package that allows to add captcha to zope.formlib.
5As a result such forms are prevented from automatic submit.
6
7Captchas in a formlib form
8--------------------------
9
10Using quintagroup.formlib.captcha in a formlib form is simple. Just add a
11Captcha field to your schema, and away you go:
12
13  >>> from zope.interface import Interface
14  >>> from quintagroup.formlib.captcha.form import Captcha
15  >>> class CaptchaSchema(Interface):
16  ...     captcha = Captcha(
17  ...         title=_(u'Type the code'),
18  ...         description=_(u'Type the code from the picture shown below.'))
19
20and formlib will take care of the rest. The widget associated with this field
21will render the captcha and verify the use input automatically.
22
23Supported Plone versions
24------------------------
25
26quintagroup.formlib.captcha was tested with Plone 3.0.6, 3.1.7, 3.2.3, 3.3.4.
27
28Authors
29-------
30
31* Vitaliy Podoba
32* Andriy Mylenkyi
33* Vitaliy Stepanov
34
35Copyright (c) "Quintagroup": http://quintagroup.com, 2004-2010
Note: See TracBrowser for help on using the repository browser.