Skip to main content

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 product 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.

Authors

  • Vitaliy Podoba

  • Andriy Mylenkyi

  • Vitaliy Stepanov

Python development by Quintagroup, 2004-2012

Changelog

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

quintagroup.formlib.captcha-1.4.zip (21.7 kB view details)

Uploaded Source

File details

Details for the file quintagroup.formlib.captcha-1.4.zip.

File metadata

File hashes

Hashes for quintagroup.formlib.captcha-1.4.zip
Algorithm Hash digest
SHA256 c28cd5287c94fdb84b8b7ee18c47aa372bb6bbd97a7f0ea79e505d6773446393
MD5 175df3a8dd9ed191f69a0abcb596670e
BLAKE2b-256 2a449cdc0d252929e33811b0cdacb9f1b424f42dab518606e9bb0fa6d4bddd09

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page