> Very nice, maybe when you're done I can look at it to see what an > eventual widget could look like, some times ago I brainstormed an > eventual captcha widget. > > IMHO it should be pretty straightforward to use in this way, you have a > captcha form field that visually provides an entry (to enter the > captcha text) and the image, on the code side this widget has a custom > FE validator that validates (using your system) the entered text and > takes care of everything, so in the end to use your captcha one should > be able to just do something like this. > > class MyFields(WidgetsList): > name = TextField() > password = TextField() > captcha = CaptchaWidget() > > not sure anyway.
This is the way we do with docs.cherrypy.org. Have a look at the following code: http://cherryobject.python-hosting.com/file/trunk/cherry/util/captcha.py - Sylvain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

