Re: Dynamic Schema generation for FormEncode

2007-10-28 Thread Frederik
On Oct 27, 7:16 pm, Ian Bicking [EMAIL PROTECTED] wrote: cust_schema = formencode.Schema(allow_extra_fields=True, filter_extra_fields=True) cust_schema.add_field('v1', formencode.validators.Email(not_empty=True) cust_schema.add_field('v2', formencode.validators.Int(not_empty=False,

Dynamic Schema generation for FormEncode

2007-10-27 Thread Frederik Elwert
Hi! I am currently writing a web survey application where users can generate their own surveys. I have the form generation in place, so forms are generated from the user's survey definition file. Now I want to add validation. As far as I understood the concept of FormEncode, it expects me to

Re: Dynamic Schema generation for FormEncode

2007-10-27 Thread Ian Bicking
Frederik Elwert wrote: I am currently writing a web survey application where users can generate their own surveys. I have the form generation in place, so forms are generated from the user's survey definition file. Now I want to add validation. As far as I understood the concept of