On 1/12/06, Stephen Thorne <[EMAIL PROTECTED]> wrote: > TableForm(widgets=[TextField(name='email', > validator=validators.Any(validators.Empty(), validators.Email()))])
Try reversing the two. Formencode actually processes the list backwards and you'll want to check for emptiness first. I haven't looked into exactly why formencode doesn't work like you'd expect, but I've successfully done this several times. Also, you don't need to instantiate the validators unless you're passing parameters. validator=validators.Any(validators.Email,validators.Empty) is the same due to some metaclass magic going on in formencode.

