You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 13 / quintagroup.formlib.captcha-1.4-3.lbn13.noarch

quintagroup.formlib.captcha-1.4-3.lbn13.noarch

Package Attributes
RPM  quintagroup.formlib.captcha-1.4-3.lbn13.noarch.rpm Architecture  noarch Size  37272 Created  2017/08/04 11:09:11 UTC
Package Specification
Summary Captcha field for formlib based on quintagroup.captcha.core package
Group Application/Internet
License ZPL
Home Page http://pypi.python.org/packages/source/q/quintagroup.formlib.captcha/quintagroup.formlib.captcha-1.4.zip
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.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
/bin/sh  
rpmlib(PayloadIsXz)  
Provides
quintagroup.formlib
quintagroup.formlib.captcha
Obsoletes
quintagroup.formlib.captcha-egginfo

Document Actions