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.3 (2014-06-11)
New release with resolved in-line validation issue [sorenabell]
1.4.3-dev (2013-08-16)
The captcha value was decoded during the in-line validation (compatibility with bugfixed plone.app.form-2.2.3, thanks: Maurits van Rees, issue: http://plone.org/products/plone-captchas/issues/6). [potar]
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.3.zip
.
File metadata
- Download URL: quintagroup.formlib.captcha-1.4.3.zip
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8556cf507c11281c0cdd3a868e521c34d8914ac15e7807acfd86bb16c1f17a |
|
MD5 | 319722056a471ad056867b011b8c409c |
|
BLAKE2b-256 | 059a263d814f1435736e87378a4a1fbcf8a63aa3edf0d6e4ab6770cdec77dd5c |