You are here: Home Plone products quintagroup.formlib.captcha

quintagroup.formlib.captcha (1.4)

1
by Olha Pelishok last modified 2011-08-26
0.0
0.0
0.0
0.0
Released on 2011-08-25 by Quintagroup for Plone 3.0, Plone 4.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
Captcha field for formlib based on quintagroup.captcha.core package

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.

Document Actions
Powered by Plone