ATptcha

by Tom "Spanky" Kapanka last modified Feb 16, 2011 02:05 AM

AT-based Captcha Widget

Project Description

Sometimes you might want a Captcha in an AT object, and rather than futzing with base_edit's form controller tragedy, you can now just add a captcha widget.  If you want to use a Captcha in a Page Template, you do NOT need ATptcha. PloneCaptcha does this out of the box.

This may be a bit strange in implementation, because the value of the field is written to your type (irrelevant) and will show up if you re-edit the object, causing the user to have to re-captcha.  Ah well, it's not perfect, but it's better than a spam-filled site.

Requires PloneCaptcha

        StringField('captcha',
            regfield=1,
            required=True,                     
            widget = CaptchaWidget(
                description="This helps us prevent automated spamming.",
                label="Verification Code",
                label_msgid='captcha_label',
                description_msgid='captcha_help',
                i18n_domain='captcha',
                visible={'view':'invisible',},
            ),
            validators='CaptchaMatch',
        ),

Current Release

No stable release available yet.

If you are interested in getting the source code of this project, you can get it from the Code repository .

All Releases

Version Released Description Compatibility Status

Comments (0)