I'd like to be able to allow a field to be Empty, but if it is
populated, then that must be done via a lookup to another Table.
I'm guessing this isn't possible without a Custom Validator, correct?
Anyone have such a validator?

Since it seems like I need to write as lot of custom validators for my
app, I'd really like an easy way to put these into my app's modules
folder rather than amending gluon/validators.py (to keep the app
portable).

I'm not sure how I go about doing this.
I need to somehow override the default definition of __all__ to add my
new validation classes.

Help welcomed :)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to