skip to navigation
skip to content

collective.z3cform.norobots 1.1

Human readable captcha for z3cform

Latest Version:


collective.z3cform.norobots provides a “human” captcha widget based on a list of questions/answers.

This captcha can be used as a captcha plugin.

The widget is based on z3c.form.TextWidget.


  • tested with Plone 4.0 as a plugin for, should work with Plone 3


Just a simple easy_install collective.z3cform.norobots is enough.

Alternatively, buildout users can install collective.z3cform.norobots as part of a specific project’s buildout, by having a buildout configuration such as:

eggs =
zcml =

In portal_setup, apply the profile collective.z3cform.norobots:default.

Add a new question

In the Plone Property Sheet “norobots_properties” (portal_properties/norobots_properties), add a new property:

Name: The question id (ex: "question4")
Value: your_question::the_answer (ex: "What is 10 + 12 ?::22")
Type: string


You can use this widget setting the “widgetFactory” property of a form field:

from zope import interface, schema
from z3c.form import interfaces, form, field, button, validator
from import wrap_form

from collective.z3cform.norobots.i18n import MessageFactory as _
from collective.z3cform.norobots.widget import NorobotsFieldWidget
from collective.z3cform.norobots.validator import NorobotsValidator

class INorobotsForm(interface.Interface):
    norobots = schema.TextLine(title=_(u'Are you a human ?'),
                               description=_(u'In order to avoid spam, please answer the question below.'),

class NorobotsForm(form.Form):
    fields = field.Fields(INorobotsForm)
    fields['norobots'].widgetFactory = NorobotsFieldWidget

# wrap the form with's Form wrapper
NorobotsFormView = wrap_form(NorobotsForm)

# Register Norobots validator for the correponding field in the IContactInfo interface
validator.WidgetValidatorDiscriminators(NorobotsValidator, field=INorobotsForm['norobots'])

for more information see in the plone_forms directory in the package.


1.1 - 2010-09-15

  • Support for using as a captcha plugin (Plone 4) [Petri Savolainen]
  • Finnish translations [Petri Savolainen]


  • Initial release [Sylvain Boureliou]
File Type Py Version Uploaded on Size (md5) Source 2010-09-15 31KB
  • Downloads (All Versions):
  • 35 downloads in the last day
  • 265 downloads in the last week
  • 1026 downloads in the last month