Captcha field for formlib based on quintagroup.captcha.core package
Project description
Introduction
quintagroup.formlib.captcha is a package that allows to add captcha to zope.formlib. As a result such forms are prevented from automatic submit.
Captchas in a formlib form
Using quintagroup.formlib.captcha in a formlib form is simple. Just add a Captcha field to your schema, and away you go:
>>> from zope.interface import Interface >>> from quintagroup.formlib.captcha.form import Captcha >>> class CaptchaSchema(Interface): ... captcha = Captcha( ... title=_(u'Type the code'), ... description=_(u'Type the code from the picture shown below.'))
and formlib will take care of the rest. The widget associated with this field will render the captcha and verify the use input automatically.
Supported Plone versions
quintagroup.formlib.captcha was tested with Plone 3.x and Plone 4.0.
Changelog
1.3 (2010-09-14)
Added plone-4 support [mylan]
Fixed getting context in the widget [mylan]
Added docttests [mylan]
1.2 (2010-04-29)
Clean-up code
Added tests
Add quintagroup.captcha.core, zope.formlib as requirements
1.0 (2009-04-22)
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file quintagroup.formlib.captcha-1.3.tar.gz
.
File metadata
- Download URL: quintagroup.formlib.captcha-1.3.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896d7de2b7631b30daec4aa9965eca330a0eac2d50281780925cb365e4008ef7 |
|
MD5 | 09063ab3b9a91bb4a850b50b9a120f15 |
|
BLAKE2b-256 | 991b09388175d930d9ee0f8ad8e2ff4d421c6496f8e6b0ba4130cbcf4bff60ad |
File details
Details for the file quintagroup.formlib.captcha-1.3-py2.6.egg
.
File metadata
- Download URL: quintagroup.formlib.captcha-1.3-py2.6.egg
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4729843d54ffe0ec0b2127a9dc7fb90174c6a853510f5977ce19b9febc1a5cfc |
|
MD5 | 5433910d1e86b09485e8a02b7ab2a92b |
|
BLAKE2b-256 | 3c1cb614b3527995cf50cfdaff23777269e3446f0cbafc7ef7241ff0dfd4f9fd |
File details
Details for the file quintagroup.formlib.captcha-1.3-py2.4.egg
.
File metadata
- Download URL: quintagroup.formlib.captcha-1.3-py2.4.egg
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a72056dabf0ba4859cecc91f4328c70114395fecd8d029ccd985aaae4ab100c |
|
MD5 | 025d494e6a722ad6e5d884e7059b8dbe |
|
BLAKE2b-256 | dc1c68214bb7dac847dc6434a8fcfc4f2977420ffa1f4c40b29533d94b710440 |