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 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.4.2 (2013-07-09)
The in-line validation for captcha was disabled (issue: http://plone.org/products/plone-captchas/issues/6). [potar]
The captcha field was made required for preventing hacks (thanks: Sean Fulmer). [potar]
1.4.1 (2011-11-02)
Updated documentation [fenix]
1.4 (2011-08-25)
widget import fixed
pyflakes, pep8 clean up
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
File details
Details for the file quintagroup.formlib.captcha-1.4.2.zip
.
File metadata
- Download URL: quintagroup.formlib.captcha-1.4.2.zip
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ef4b0aebede1874b4de26b77ec91674a35d3c7a3812e4133e537d3f4d5c1234 |
|
MD5 | 8eb9edcf30d5c15940e0b2f620bd3fee |
|
BLAKE2b-256 | 75dd138727a8c73df319ebf74185b8ae31349ab5117676663e8598940db2bf97 |