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
Metadata
Release files for quintagroup.formlib.captcha 1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quintagroup.formlib.captcha-1.4.3.zip | 23.5 kB | Details |
Release files / quintagroup.formlib.captcha-1.4.3.zip
| Download URL | quintagroup.formlib.captcha-1.4.3.zip |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e8556cf507c11281c0cdd3a868e521c34d8914ac15e7807acfd86bb16c1f17a
|
|
BLAKE2b-256 checksum How to use checksums |
059a263d814f1435736e87378a4a1fbcf8a63aa3edf0d6e4ab6770cdec77dd5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |