Last change
on this file was
3712,
checked in by sorenabell, 10 years ago
|
prepared 1.4.3 release
|
File size:
1.0 KB
|
Line | |
---|
1 | Introduction |
---|
2 | ============ |
---|
3 | |
---|
4 | quintagroup.formlib.captcha is a package that allows to add captcha to zope.formlib. |
---|
5 | As a result such forms are prevented from automatic submit. |
---|
6 | |
---|
7 | Captchas in a formlib form |
---|
8 | -------------------------- |
---|
9 | |
---|
10 | Using quintagroup.formlib.captcha in a formlib form is simple. Just add a |
---|
11 | Captcha field to your schema, and away you go: |
---|
12 | |
---|
13 | >>> from zope.interface import Interface |
---|
14 | >>> from quintagroup.formlib.captcha 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 | |
---|
20 | and formlib will take care of the rest. The widget associated with this field |
---|
21 | will render the captcha and verify the use input automatically. |
---|
22 | |
---|
23 | Supported Plone versions |
---|
24 | ------------------------ |
---|
25 | |
---|
26 | quintagroup.formlib.captcha was tested with Plone 3.x and Plone 4.0. |
---|
27 | |
---|
28 | Authors |
---|
29 | ------- |
---|
30 | |
---|
31 | * Vitaliy Podoba |
---|
32 | * Andriy Mylenkyi |
---|
33 | * Vitaliy Stepanov |
---|
34 | |
---|
35 | Copyright (c) "Quintagroup": http://quintagroup.com, 2004-2014 |
---|
Note: See
TracBrowser
for help on using the repository browser.